Accelerating the pace of engineering and science
Get the number of continuous states that a block has
int_T ssGetNumContStates(SimStruct *S)
SimStruct representing an S-Function block or a Simulink® model.
An int_T value indicating the number of continuous
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.
See the S-function stvctf.cstvctf.c used
ssSetNumContStates, ssGetNumDiscStates, ssGetContStates
Join the conversation