Creating Flow Graphs with Connective Junctions

When to Use Connective Junctions

Use connective junctions to provide decision points between alternate transition paths.

Creating a Connective Junction

To create a connective junction, follow these steps:

  1. In the chart toolbar, click the Connective Junction tool .

  2. Move your pointer into the Stateflow® Editor.

    The pointer appears in the shape of a connective junction.

  3. Click to place a connective junction in the desired location in the drawing area.

Creating Multiple Connective Junctions

To create multiple connective junctions, follow these steps:

  1. In the chart toolbar, double-click the Connective Junction tool.

  2. The button is now in multiple object mode.

  3. Click anywhere in the drawing area to place a connective junction in the drawing area.

  4. Move to and click another location to create an additional connective junction.

  5. Click the Connective Junction tool or press the Esc key to cancel the operation.

Moving a Connective Junction

To move a connective junction to a new location, click and drag it to the new position.

Changing Connective Junction Size

To change the size of connective junctions, do the following:

  1. Select the connective junctions whose size you want to change.

  2. Place your pointer over one of the connective junctions and right-click.

  3. In the resulting submenu, place your pointer over Junction Size.

    A menu of junction sizes appears.

  4. Select a size from the menu of junction sizes.

Changing Junction Properties

To edit the properties for a connective junction, follow these steps:

  1. Right-click a connective junction.

  2. In the resulting submenu select Properties.

    The Connective Junction dialog box appears.

  3. Edit the fields in the properties dialog.

    Field

    Description

    Parent

    Parent of this state; read-only; click the hypertext link to bring the parent to the foreground.

    Description

    Textual description/comment.

    Document Link

    Enter a URL address or a general MATLAB® command. Examples are www.mathworks.com, mailto:email_address, and edit/spec/data/speed.txt.

  4. When you finish editing, select one of these options:

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS