Set operating point information for Stateflow chart, MATLAB System block, or S-function
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
Set Operating Point for Stateflow Chart
Specify the operating point for the Stateflow chart
'mymodel/chart' as the contents of the variable
newOperPoint = set(myOperPoint,'mymodel/chart',newChartOperPoint)
modelOP — Model operating point
Model operating point, specified as a
blockPath — Path to element whose operating point you want to modify
string | character vector
Path to element whose operating point you want to modify, specified as a string or a character vector.
You cannot access or modify operating point information for Stateflow charts, MATLAB System blocks, or S-functions inside model references that execute in accelerator mode.
op — Operating point information to set
Stateflow.op.BlockOperatingPoint object | S-function operating point | MATLAB System block operating point
Operating point information to set, specified as a
Stateflow.op.BlockOperatingPoint (Stateflow) object, an S-function operating point, or a
MATLAB System block operating point.
For more information about working with operating points for Stateflow charts, see Save and Restore Operating Points for Stateflow Charts (Stateflow).
ssSetOperatingPointVisibilityfunction to specify whether operating point information for an S-function is accessible from the
Version HistoryIntroduced in R2019a
Simulink.SimState.ModelSimState is renamed to
Simulink.SimState.ModelSimState object, which was introduced in
R2009a, is renamed and replaced with the
object. You can still use simulation snapshots from a previous release that you captured and
ModelSimState objects. When you load the object into the workspace
or a model, the object is replaced with a
ModelOperatingPoint object that
contains the same data.
ModelOperatingPoint object has the same properties as the
ModelSimState object. The
getBlockSimState functions continue to work but are not
recommended. Instead, use the
functions for the