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