Writing S-Functions | ![]() ![]() |
Get the number of discrete states that a block has.
Syntax
int_T ssGetNumDiscStates(SimStruct *S)
Arguments
S
SimStruct representing an S-function block.
Description
Use in any routine (except mdlInitializeSizes
) to determine the number of discrete states that the S-function has.
Languages
See Also
ssSetNumDiscStates,
ssGetNumContStates
![]() | ssGetNumDataTypes | ssGetNumDWork | ![]() |