Writing S-Functions Previous page   Next Page
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


Previous page  ssGetNumDataTypes ssGetNumDWork Next page

© 1994-2005 The MathWorks, Inc.