Get the size of one dimension of the signal leaving an output port
int_T ssGetOutputPortDimensionSize(SimStruct *S, int_T port, int_T dIdx)
S
SimStruct representing an S-Function block.
port
Index of the output port.
dIdx
Index of the dimension.
An int_T
value indicating the size of dimension,
dIdx
, at the output port specified by
port
. Returns 1
if the dIdx
is greater than or equal to the number of output port dimensions.
Use to obtain the size of one dimension of a particular output port.
C, C++