Get the dimensions of the signal leaving an output port
int_T *ssGetOutputPortDimensions(SimStruct *S, int_T port)
SimStruct representing an S-function block.
Index of an output port.
A pointer (
int_T *) to an array of integers. The array contains
elements with the value
when the size of a dimension is unknown.
Use to obtain the dimensions of the signal leaving the output port specified by
[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