| Contents | Index |
int_T ssGetModeVectorValue(SimStruct *S, int_T elementx)
An int_T value for the element of the mode vector specified by the index elementx. Returns NULL if no value was assigned into the elementx element of the mode vector.
Use to obtain the specified mode vector element, where the element index start at 0 and end at the total number of modes minus 1.
C, C++
The following statement
int_T v = ssGetModeVectorValue(S, 0);
is equivalent to
int_T* wv = ssGetModeVector(S); int_T v = wv[0];
ssSetModeVectorValue, ssGetModeVector

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 |