| Contents | Index |
int_T ssGetDWorkUsedAsDState(SimStruct *S, int_T vector)
SimStruct representing an S-Function block.
Index of a data type work vector, where the index is one of 0, 1, 2, ... ssGetNumDWork(S)-1.
The int_T value 1 (SS_DWORK_USED_AS_DSTATE) if this vector is used to store a block's discrete states. Otherwise, returns 0 (SS_DWORK_USED_AS_DWORK).
Use to determine if the DWork vector specified by the index vector is used to store discrete state values.
C, C++
For more information on using DWork vectors, see Using Work Vectors.

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |