Writing S-Functions    
ssGetDWorkUsedAsDState

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

C, C++

See Also
ssSetDWorkUsedAsDState


 ssGetDWorkName ssGetDWorkWidth