Design logic by using state charts and execute that logic as MATLAB programs. Execute and unit test your chart in the Stateflow editor. Control the behavior of user interfaces and data processing applications through your chart.
Save standalone Stateflow charts outside of Simulink® models.
Run Stateflow charts in MATLAB or through the Stateflow editor.
Interrupt execution to step through each action in a Stateflow chart.
Create a MATLAB script or a Simulink model that invokes a standalone Stateflow chart.
Create standalone Stateflow charts that interact with MATLAB user interfaces.
Use Stateflow to implement a frame-synchronization and symbol-detection algorithm.
Design a standalone Stateflow chart that issues instructions for trading stocks.