ssSetModeVectorValue
Set an element of a block's mode vector
Syntax
void ssSetModeVectorValue(SimStruct *S, int_T element, int_T value)
Arguments
SSimStruct that represents an S-Function block.
elementIndex of a mode vector element.
valueMode vector value.
Description
Sets the specified mode vector element to the specified value.
Languages
C, C++
Examples
The following statement
ssSetModeVectorValue(S, 0, 1.0);
sets the first element of the mode vector to 1.0.
See Also
Version History
Introduced before R2006a