This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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

Flow Charts in Stateflow

Defines and describes flow charts

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?