<< ld_detect_step_event2 basic_ldblocks ld_file_save_machine >>

ORTD Scilab Interface Toolbox >> basic_ldblocks > ld_extract_element

ld_extract_element

Extract one element of a vector

Calling Sequence

[sim, out] = ld_extract_element(sim, events, invec, pointer, vecsize )

Description

invec *+ - the input vector signal

pointer * - the index signal (indexing starts at 1)

vecsize - length of input vector

out = invec[pointer], the first element is at pointer = 1


Report an issue
<< ld_detect_step_event2 basic_ldblocks ld_file_save_machine >>