| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simulink |
| Contents | Index |
| Learn more about Simulink |
void ssSetModeVectorValue(SimStruct *S, int_T element, int_T value)
SimStruct representing an S-Function block.
Index of a mode vector element.
Mode vector value.
Sets the specified mode vector element to the specified value.
C, C++
The following statement
ssSetModeVectorValue(S, 0, 1.0);
sets the first element of the mode vector to 1.0.
ssGetModeVectorValue, ssGetModeVector
![]() | ssSetModelReferenceSampleTimeInheritanceRule | ssSetNumContStates | ![]() |

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