Writing S-Functions | ![]() ![]() |
Specify dimension information for an output port that emits vector signals.
Syntax
Arguments
S
SimStruct representing an S-Function block.
Width of vector or DYNAMICALLY_SIZED
.
Description
Specifies that port
emits a w
-element vector signal. Returns 1
if successful; otherwise, 0
.
Example
The following example specifies that output port 0 emits an 8-element matrix signal.
Languages
See Also
ssSetOutputPortWidth
![]() | ssSetOutputPortSampleTime | ssSetOutputPortWidth | ![]() |