Writing S-Functions | ![]() ![]() |
Get the width of an output port.
C Syntax
int_T
ssGetOutputPortWidth(SimStruct *S, int_T port)
Ada Syntax
function ssGetOutputPortWidth(S : in SimStruct; port : in Integer := 0) return Integer;
Arguments
S
SimStruct representing an S-function block.
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
See Also
ssSetOutputPortWidth
![]() | ssGetOutputPortSignalAddress | ssGetPath | ![]() |