Writing S-Functions    
ssSetInputPortWidth

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.

Width of the 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 0.

Languages

Ada, C

See Also
ssSetNumInputPorts, ssSetOutputPortWidth


  ssSetInputPortVectorDimension ssSetIWorkValue