Stateflow    

Stateflow Notation


You compose Stateflow diagrams with the symbolic objects of Stateflow notation. Learning Stateflow notation is the first step to designing and implementing efficient Stateflow diagrams. Once you are familiar with the notation of Stateflow, learn how Stateflow diagram objects interact with each other in Stateflow Semantics.
For further information on the mechanics of creating Stateflow diagrams, see Working with Charts and Defining Events and Data.
Overview of Stateflow Objects
Stateflow contains objects that are graphical and nongraphical that are organized into an hierarchical structure.
States
States are the primary objects of Stateflow. They represent modes of a system.
Transitions
A transition is a pathway for a chart or state to change from one mode (state) to another.
Transition Connections
Stateflow supports a wide variety of connections with other Stateflow objects.
Default Transitions
Default transitions tell Stateflow which of several possible states to enter first for a chart or superstate.
Connective Junctions
A connective junction represents a decision point between alternative transition paths.
History Junctions
A history junction records the most recently active state of the chart or superstate in which it is placed.
Boxes
You use boxes to group parts of a diagram.
Graphical Functions
For convenience, Stateflow provides functions that are graphically defined by a flow graph.
Action Language
Action language defines categories of actions you include in state and transition labels.


  Using Stateflow Overview of Stateflow Objects