Writing S-Functions Previous page   Next Page
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


Previous page  ssGetDWorkRTWTypeQualifier ssGetDWorkWidth Next page

© 1994-2005 The MathWorks, Inc.