Model systems with a finite number of states. Use states to graphically denote the modes of the system. Conditional transitions provide pathways between these modes. Control the behavior of your system through actions in states and on transitions.
|Chart||Implement control logic with finite state machine|
|State Transition Table||Represent modal logic in tabular format|
|Truth Table||Represent logical decision-making behavior with conditions, decisions, and actions|
|Create Simulink model that contains an empty Stateflow block|
|Open Stateflow block library|
|Open Stateflow block library and create Simulink model that contains an empty chart|
|Open Simulink model|
|Close Stateflow chart|
|Save Simulink model|
|Print Stateflow charts|
|Open Stateflow documentation in Help browser|
|Open Breakpoints and Watch window|
|Open Model Explorer|
|Set preferences for Stateflow charts|
- Model Finite State Machines by Using Stateflow Charts
Represent event-driven reactive systems.
- Overview of Stateflow Objects
Learn about states, transitions, and other objects that you can use in your Stateflow® chart.
- Represent Operating Modes by Using States
Create states to describe the operating modes of a reactive system.
- Transition Between Operating Modes
Use conditional transitions as pathways between states.
- Resume Prior Substate Activity by Using History Junctions
Create history junctions that record the active substates of a state.
- Create Entry and Exit Connections Across State Boundaries
Improve componentization by isolating the transition logic for entering and exiting states.