Writing S-Functions    
ssSetInputPortWidth

Specify the number of input ports that a block has.

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.

Width of input port.

Description

Use in mdlInitializeSizes (after ssSetNumInputPorts) to specify a nonzero positive integer width or DYNAMICALLY_SIZED for each input port index starting at 0r

Languages

Ada, C

See Also
ssSetNumInputPorts, ssSetOutputPortWidth


 ssSetInputPortVectorDimension ssSetModeVectorValue