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