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