Main Content

Entry Junction

R2026b

Entry junction that crosses state boundary of Stateflow chart

Description

An entry junction crosses the boundaries and hierarchy of Stateflow® states. Entry junctions connect to entry ports on the state boundary. Use entry junctions to connect states at different levels of hierarchy in a chart, or to create transitions that cross hierarchy boundaries.

To add an entry to a chart:

  1. In the Stateflow Editor, in the object palette, click the Entry icon The entry object palette icon..

  2. Click a location inside a state or atomic subchart to place the entry junction. Stateflow places a matching entry port on the state boundary.

  3. Type a label for the entry junction.

Properties

expand all

To edit graphical object properties interactively, right-click the object and select Properties.

To modify entry junction properties programmatically, use Stateflow.Port objects.

General

Label for the entry junction. This property is read-only. Click the hyperlink to navigate to the entry junction in the Stateflow Editor. The label identifies the entry point and matches the label on the corresponding entry port on the state boundary. To change the label, edit it on the chart canvas.

Description of the entry junction, specified as a character vector.

Link to a document associated with the entry junction, specified as a character vector. Enter a web URL or a MATLAB® expression that opens the document.

Version History

Introduced in R2021b