| Writing S-Functions | ![]() |
Specify the width of an output port.
C Syntax
void ssSetOutputPortWidth(SimStruct *S, int_T port, int_T width)
Ada Syntax
procedurw ssSetOutputPortWidth(S : in SimStruct; port : in Integer := 0; Width : in Integer);
Arguments
S
SimStruct representing an S-function block.
width
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 | ![]() |