Get the size of a Dwork vector
int_T ssGetDWorkWidth(SimStruct *S, int_T vector)
S
SimStruct representing an S-Function block.
vector
Index of a work vector, where the index is one of
0
, 1
, 2
,
...
ssGetNumDWork(S)-1
.
The int_T
number of elements in the DWork vector specified by
the index vector
.
Use to obtain the size of a particular DWork vector.
C, C++
For more information on using DWork vectors, see How to Use DWork Vectors.