Main Content
Chart Programming
Program state machines for combinatorial and sequential logic
In the Stateflow® graphical editor, you draw state machines and flow charts. Build a state machine by combining states, actions, conditions, transitions, and junctions. Stateflow syntax enables event-based and time-based operators to specify state-transition logic.
Categories
- Chart Programming Basics
Program Stateflow charts and state transition tables
- Stateflow Editor Interface
Manage chart elements through the Stateflow editor
- Syntax for States and Transitions
Express chart behavior by using actions and conditions
- Chart Simulation Semantics
Understand the behavior of your chart during simulation
- Reusable Components in Charts
Define reusable functions and subcharts to simplify chart design
- Stateflow Programmatic Interface
Create and modify chart elements at the MATLAB® command prompt