ssGetInputPortNumDimensions
Get the dimensionality of the signals accepted by an input port
Syntax
int_T ssGetInputPortNumDimensions(SimStruct *S, int_T port)
Arguments
- S
- SimStruct that represents an S-Function block. 
- port
- Index of an input port. 
Returns
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.
Description
Use to obtain the number of dimensions of a particular input port.
Languages
C, C++
Examples
See the S-function sdotproduct.c used in sfcndemo_sdotproduct.
See Also
Version History
Introduced before R2006a