Stateflow Charts

Design modal logic in graphical form

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.


ChartImplement control logic with finite state machine


Stateflow OnrampTwo-hour interactive training course included with Stateflow license


Finite State Machine Concepts

Model finite state machines by using Stateflow® charts.

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.

Connective Junctions

Create decision points between alternative transition paths.

Modeling Guidelines for Stateflow Charts

Efficiently model charts by using states, transitions, and events.

Rules for Naming Stateflow Objects

Create unique identifiers for your Stateflow objects.

Model an Assembly Line Feeder

Program a chart based on the operating modes of a feeder system.