Stateflow    

Creating Junctions

To create one junction at a time, click on a Junction button in the toolbar and click on the desired location for the junction in the drawing area. To create multiple junctions, double-click on 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 on the Junction button or press the Esc key to cancel the operation.

You can choose from these types of junctions.

Name
Button Icon
Description
Connective
junction

One use of a connective junction is to handle situations where transitions out of one state into two or more states are taken based on the same event but guarded by different conditions.
History junction

Use a history junction to indicate, when entering this level in the hierarchy, that the last state that was active becomes the next state to be active.


 Using the Transition Properties Dialog Changing Size