Graphical Expression of Modal Logic

Design operating modes in finite state machines.

Model systems with a finite number of sequential states. Design transition logic so that Stateflow manages which states are active. Use actions in states and transitions to control the activity of your system.


ChartImplement control logic with finite state machine



Describes the primary Stateflow® chart objects that represent modes of a system


Describes pathways for a chart or state to change from one mode (state) to another

Transition Connections

How to support different connections with other Stateflow objects

Default Transitions

Describes transitions that define which of several possible states to enter first for a chart or superstate

History Junctions

How to record the most recently active state of a chart or superstate

Difference Between Flow Charts and State Transition Diagrams

Compares flow charts and state transition diagrams

Process for Entering, Executing, and Exiting States

Describes how states become active, execute, and become inactive

Rules for Naming Stateflow Objects

You can name Stateflow objects with any combination of alphanumeric and underscore characters.

How Chart Constructs Interact During Execution

Explains how different graphical and nongraphical constructs interact during chart execution

Represent Operating Modes Using States

Describes how to create and specify a state in your new chart. Stateflow charts react to events by changing states, which are modes of a chart

Transition Between Operating Modes

Describes how to create, move, change, and specify properties for Stateflow transitions. Charts change active states using pathways called transitions.

Record State Activity Using History Junctions

Describes how to create, move, and specify properties for history junctions that record the most recently active substate of a state

Was this topic helpful?