Introduction to Stateflow with Applications

Chapter 6: Connective Junctions

This chapter describes the use of connective junctions to represent a decision point between alternate transition paths for a single transition. Flow diagram notation uses connective junctions to represent common code structures such as for loops and if then else constructs without the use of states.

6.1 The Stateflow Connective Junction Tool

Figure 6.1 is our familiar Stateflow Editor window, and when we place the mouse cursor over the Connective Junction tool , its name appears at the bottom of the window.


Figure 6.1: The Stateflow Editor window

6.2 Creating a Connective Junction

To create a connective junction, we do the following:

  1. In the diagram toolbar, we click the Connective Junction tool

  2. We move the cursor into the diagram editor.The cursor takes on the shape of a connective junction as shown in Figure 6.2. We click to place a connective junction in the desired location in the drawing area.


Figure 6.2: Placing a connective junction in the drawing area

To create multiple connective junctions, we do the following:

  1. In the diagram toolbar, we double click the Connective Junction tool and the connective junction is now in multiple object mode.

  2. We click anywhere in the drawing area to place a connective junction in the drawing area. We move to and click another location to create an additional connective junction. We click the Connective Junction tool or we press the Esc key to terminate the operation. To move a connective junction to a new...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Diodes
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.