A
as specified by indexing input P
.single
| double
| int8
| int16
| int32
| int64
| uint8
| uint16
| uint32
| uint64
| Boolean
| fixed point
| enumerated
single
| double
| int8
| int16
| int32
| int64
| uint8
| uint16
| uint32
| uint64
| Boolean
| enumerated
single
| double
| int8
| int16
| int32
| int64
| uint8
| uint16
| uint32
| uint64
| Boolean
| fixed point
| enumerated
Rows
–– The block uses the rows of A
to create a matrix that has the same column dimension. Input P
is a length-L vector whose elements determine where each row from A
must be placed in the L-by-N output matrix.A
as an M-by-1 matrix.Columns
–– The block uses the columns of A
to create a matrix that has the same row dimension. Input P
is a length-L vector whose elements determine where each column from A
must be placed in the M-by-L output matrix.A
as a 1-by-N matrix.Index mode
— Index modeZero-based
(default) | One-based
One-based
, a value of 1
in the permutation vector P
refers to the first row or column of the input matrix A
. When set to Zero-based
, a value of 0
in P
refers to the first row or column of A
.Invalid permutation index
— Response to an invalid index valueClip index
(default) | Clip and warn
| Generate error
P
references a nonexistent row or column of matrix A
, the block reacts as specified in this parameter. These options are available:Clip index
–– Clip the index to the nearest valid value (1 or M for row permutation and 1 or N for column permutation) and do not issue an alert. Example: For a 3-by-7 input matrix, a column index of 9 is clipped to 7 and a row index of -2 is clipped to 1.Clip and warn
–– Display a warning message in the MATLAB® Command Window and clip the index as described in the preceding bullet.Generate error
–– Display an error dialog box and terminate the simulation.Error when length of P is not equal to Permute dimension size
— Error message for P lengthoff
(default) | on
P
is not equal to the number of rows or columns of the input matrix A
.on
. Money pro 2 1 32.Data Types | Boolean | double | enumerated | fixed point | integer | single |
Direct Feedthrough | no |
Multidimensional Signals | no |
Variable-Size Signals | no |
Zero-Crossing Detection |
memcpy
or memset
functions (string.h
) under certain conditions.