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