Writing S-Functions    
ssGetOutputPortWidth

Get the width of an output port.

C Syntax

Ada Syntax

Arguments
S
   SimStruct representing an S-function block.

outputPortIdx
   Index of output port.

Description

Use in any routine (except mdlInitializeSizes) to determine the width of an output port where the output port index starts at 0 and must be less than the number of output ports.

Languages

Ada, C

See Also
ssSetOutputPortWidth


 ssGetOutputPortSignalAddress ssGetPath