Get the number of continuous states that a block has
int_T ssGetNumContStates(SimStruct *S)
S
SimStruct representing an S-Function block or a Simulink® model.
An int_T
value indicating the number of continuous
states.
Use to obtain the number of continuous states in the block or model represented by
S
. You can use this macro in any routine except
mdlInitializeSizes
.
C, C++
See the S-function stvctf.c
used in sfcndemo_stvctf
.