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
Introduced in R2019a