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