Writing S-Functions | ![]() ![]() |
Specify the width of an output port.
C Syntax
Ada Syntax
Arguments
S
SimStruct representing an S-Function block.
port
Index of the output port whose width is being set.
Description
Use in mdlInitializeSizes
(after ssSetNumOutputPorts
) to specify a nonzero positive integer width or DYNAMICALLY_SIZED
for each output port index starting at 0.
Languages
See Also
ssSetNumOutputPorts, ssSetInputPortWidth
![]() | ssSetOutputPortVectorDimension | ssSetParameterName | ![]() |