| Writing S-Functions | ![]() |
Specify dimension information for an output port that emits vector signals.
Syntax
void ssSetOutputPortVectorDimension(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 emits a w-element vector signal.
Example
The following example specifies that output port 0 emits an 8-element matrix signal.
ssSetOutputPortVectorDimension(S, 0, 8);
Languages
See Also
ssSetOutputPortDimensionInfo, ssSetOutputPortWidth
| ssSetOutputPortSampleTime | ssSetOutputPortWidth | ![]() |