Get the number of output ports that a block has
int_T ssGetNumOutputPorts(SimStruct *S)
S
SimStruct representing an S-Function block.
An int_T
value indicating the number of output ports.
Use in any routine (except mdlInitializeSizes
) to determine how
many output ports a block has.
C, C++
See the S-function sfun_multiport.c
used in sfcndemo_sfun_multiport
.