Writing S-Functions | ![]() ![]() |
Determine whether a data type work vector is used as a discrete state vector.
Syntax
int_T ssGetDWorkUsedAsDState(SimStruct *S, int_T vector)
Arguments
S
SimStruct representing an S-function block.
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
![]() | ssGetDWorkName | ssGetDWorkWidth | ![]() |