User`s guide

Multiport Selector
5-323
Example Consider the following Indices to output cell array:
{4,[1:2 5],[7;8],10:-1:6}
This is a four-cell array, which requires the block to generate four independent
outputs (each at a distinct port). The table below shows the dimensions of these
outputs when
Select = Rows and the input dimension is M-by-N.
Dialog Box
Select
The dimension of the input to select,
Rows or Columns.
Indices to output
A cell array specifying the row- or column-subsets to propagate to each of
the output ports. The number of cells in the array determines the number
of output ports on the block. This parameter is tunable, but the size of the
cell array (i.e., the number of output ports) and the size of each submatrix
in the output must remain the same while the simulation is running.
Cell Expression Description Output size
1
4
Row 4 of input 1-by-N
2
[1:2 5]
Rows 1, 2, and 5 of input 3-by-N
3
[7;8]
Rows 7 and 8 of input 2-by-N
4
10:-1:6
Rows 10, 9, 8, 7, and 6 of input 5-by-N