Exit Junction
R2026bExit junction that crosses state boundary of Stateflow chart
Description
An exit junction crosses the boundaries and hierarchy of Stateflow® states. Exit junctions connect to exit ports on the state boundary. Use exit junctions to connect states at different levels of hierarchy in a chart, or to create transitions that cross hierarchy boundaries.
To add an exit to a chart:
In the Stateflow Editor, in the object palette, click the Exit icon
.Click a location inside a state or atomic subchart to place the exit junction. Stateflow places a matching exit port on the state boundary.
Type a label for the exit junction.
Properties
Version History
Introduced in R2021b