Operating Points in Stateflow
Save an operating point to capture the state of a Simulink® model during simulation. If your model contains a Stateflow® chart, the operating point includes information about active states, output and local data, and persistent variables. Use an operating point to specify the initial state for a simulation and to test the response of a Stateflow chart to different settings.
|Set state as active|
|Determine if state is active|
|Highlight active states|
|Remove highlighting of active states|
|Get previously active substate|
|Set previously active substate|
|Copy operating point for Stateflow chart|
|Display object in editing environment|
- Save and Restore Operating Points for Stateflow Charts
Capture, modify, and load the simulation state of your chart.
- Use Operating Points to Specify Initial State of Simulation
Get the results of a continuous simulation without starting from time t = 0.
- Test Difficult-to-Reproduce Chart Configurations
Test the response of a transmission system to a sudden change of gear.
- Test Chart with Fault Detection and Redundant Logic
Check the response of an aircraft elevator system to an actuator failure.