Writing S-Functions | ![]() ![]() |
Get the number of output ports that a block has.
C Syntax
int_T ssGetNumOutputPorts(SimStruct *S)
Ada Syntax
function ssGetNumOutputPorts(S : in SimStruct) return Integer;
Arguments
S
SimStruct representing an S-function block.
Description
Use in any routine (except mdlInitializeSizes
) to determine how many output ports a block has.
Languages
See Also
ssGetNumInputPorts
![]() | ssGetNumNonsampledZCs | ssGetNumParameters | ![]() |