Get the dimensionality of the signals accepted by an input port
int_T ssGetInputPortNumDimensions(SimStruct *S, int_T port)
S
SimStruct representing an S-Function block.
port
Index of an input port.
A positive integer indicating the number of dimensions of the input port specified
by the index port
, or DYNAMICALLY_SIZED
, if
the number of dimensions is unknown.
Use to obtain the number of dimensions of a particular input port.
C, C++
See the S-function sdotproduct.c
used in sfcndemo_sdotproduct
.