Writing S-Functions    
ssGetNumDiscStates

Get the number of discrete states that a block has.

Syntax

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

C

See Also
ssSetNumDiscStates, ssGetNumContStates


  ssGetNumDataTypes ssGetNumDWork