A history junction records the activity of substates inside superstates. Use a history junction in a chart or superstate to indicate that its last active substate becomes active when the chart or superstate becomes active. For more information, see History Junctions.
To create a history junction, do the following:
In the editor toolbar, click the History Junction icon:
Move your pointer into the chart.
Click to place a history junction inside the state whose last active substate it records.
To create multiple history junctions, do the following:
In the editor toolbar, double-click the History Junction icon.
The button is now in multiple-object mode.
Click anywhere in the drawing area to place a history junction.
Move to and click another location to create an additional history junction.
Click the History Junction icon or press the Esc key to cancel the operation.
To move a history junction to a new location, click and drag it to the new position.
To change the size of junctions:
Select the history junctions whose size you want to change.
Right-click one of the junctions and select Junction Size.
Select a size from the list of junction sizes.
To edit the properties for a junction:
Right-click a junction and select Properties.
The History Junction dialog box appears.
Edit the fields in the properties dialog box.
Parent of this history junction; read-only; click the hypertext link to bring the parent to the foreground.
Enter a URL address or a general MATLAB® command. Examples are
When finished editing, click one of the following buttons:
Apply to save the changes
Cancel to cancel any changes
OK to save the changes and close the dialog box
Help to display the Stateflow® online help in an HTML browser window