Get a block's floating-point work vector
real_T *ssGetRWork(SimStruct *S)
SimStruct representing an S-Function block.
A pointer (
real_T *) to the RWork vector.
Use to access the floating-point work vector used by the block
S. The vector consists of elements
real_T and is of length
Typically, this vector is initialized in
mdlUpdate, and used in
You can use this macro in the simulation loop,