Stateflow | ![]() ![]() |
Using Junctions in Stateflow Charts
Junctions provide a decision point between alternate transition paths. History junctions record the activity of states inside states. The following sections describe how to create, move, and specify properties for Stateflow junctions:
Creating a Junction
To create a junction, click a Junction button in the toolbar and click the desired location for the junction in the drawing area. To create multiple junctions, double-click the Junction button in the toolbar. The button is now in multiple object mode. Click anywhere in the drawing area to place a junction in the drawing area. Additional clicks in the drawing area create additional junctions. Click the Junction button or press the Esc key to cancel the operation.
You can choose from these types of junctions.
Changing Size
To change the size of junctions, do the following:
Moving a Junction
To move a junction, click and drag it to a new position.
![]() | Specifying Graphical Function Properties | Editing Junction Properties | ![]() |