| Contents | Index |
int_T ssGetNumDiscStates(SimStruct *S)
An int_T value indicating the number of discrete states.
Use in any routine (except mdlInitializeSizes) to determine the number of discrete states in the S-function or model.
C, C++
See the S-function stvdtf.c used in sfcndemo_stvdtf.mdl.
ssSetNumDiscStates, ssGetNumContStates

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |