Documentation

Graphical Expression of Modal Logic

Operating modes in finite state machines

Blocks

Chart Implement control logic with finite state machine

Examples and How To

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

Concepts

States

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

Transitions

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

Was this topic helpful?