| Writing S-Functions | ![]() |
Determine whether a data type work vector is used as a discrete state vector.
Syntax
Arguments
S
SimStruct representing an S-Function block.
vector
Index of a data type work vector, where the index is one of 0, 1, 2, ... ssGetNumDWork(S).
Description
Returns SS_DWORK_USED_AS_DSTATE if this vector is used to store a block's discrete states.
Languages
See Also
ssSetDWorkUsedAsDState
| ssGetDWorkRTWTypeQualifier | ssGetDWorkWidth | ![]() |