User`s guide

Variable Selector
5-505
Clip index – Clip the index to the nearest valid value, and do not issue an
alert. Example: For a 64-by-N input, an index of 72 is clipped to 64; an index
of -2 is clipped to 1.
Clip and warn – Display a warning message in the MATLAB command
window, and clip as above.
Generate error – Display an error dialog box and terminate the simulation.
Note The Variable Selector block always copies the selected input rows to a
contiguous block of memory (unlike the Simulink Selector block).
Dialog Box
Select
The dimension of the input to select,
Rows or Columns. Tunable.
Selector mode
The type of indexing operation to perform,
Variable or Fixed. Variable
indexing uses the input at the
Idx port to select rows or columns from the
input at the
In port. Fixed indexing uses the Elements parameter value to
select rows from the input at the
In port, and disables the Idx port.