set
Set operating point information for Stateflow chart, MATLAB System block, or S-function
Description
set(
sets the operating point modelOP,blockPath,op)op for the model element at the specified path
blockPath. Use the set function to specify
operating point information for:
Stateflow® charts
MATLAB System blocks
S-functions with custom operating point implementation
To modify the operating point information for a built-in block, use the
loggedStates property for the Simulink.op.ModelOperatingPoint object.
To modify the operating point of a model reference in a simulation that runs from an
initial operating point, specify the InitialState parameter of the
Model block as a Simulink.op.ModelBlockOperatingPoint object. The Model block
operating point overrides the operating point information for the block in the
Simulink.op.ModelOperatingPoint object specified as the initial operating
point of the top model.
Examples
Input Arguments
Version History
Introduced in R2019aSee Also
Objects
Simulink.op.ModelOperatingPoint|Stateflow.op.BlockOperatingPoint(Stateflow) |Simulink.op.ModelBlockOperatingPoint