Writing S-Functions | ![]() ![]() |
Specify dimension information for an input port that accepts vector signals.
Syntax
void ssSetInputPortVectorDimension(SimStruct *S, int_T port, int_T
w)
Arguments
S
SimStruct representing an S-function block.
w
Width of vector or DYNAMICALLY_SIZED
Description
Specifies that port
accepts a w-element vector signal.
Languages
Example
The following example specifies that input port 0 accepts an 8-element matrix signal.
ssSetInputPortVectorDimension(S, 0, 8);
See Also
ssSetInputPortDimensionInfo, ssSetInputPortWidth
![]() | ssSetInputPortSampleTimeIndex | ssSetInputPortWidth | ![]() |