Get a block's discrete state vector
real_T *ssGetRealDiscStates(SimStruct *S)
S
SimStruct representing an S-Function block.
The discrete state vector as an array of real_T
elements of
length ssGetNumDiscStates(S)
.
Same as ssGetDiscStates
.
C, C++
See the S-function dsfunc.c
used in sfcndemo_dsfunc
and the S-function vsfunc.c
used in sfcndemo_vsfunc
.