Writing S-Functions | ![]() ![]() |
Get the dimensions of the signal leaving an output port.
Syntax
int_T *ssGetOutputPortDimensions(SimStruct *S, int_T port)
Arguments
S
SimStruct representing an S-function block.
Description
Returns an array of integers that specifies the dimensions of the signal leaving port
, e.g., [4 2] for a 4-by-2 matrix array. The size of the dimensions array is equal to the number of signal dimensions accepted by the port, e.g., 1 for a vector signal or 2 for a matrix signal.
Languages
See Also
ssGetOutputPortNumDimensions
![]() | ssGetOutputPortDataType | ssGetOutputPortFrameData | ![]() |