Flow Chart Reference

Use the patterns that appear in this appendix for if-then-else-if constructs within Stateflow® flow charts.

Straight Line Flow Chart PatternCurved Line Flow Chart Pattern
if then

if then else

if then else if  

Cascade of if then

The following patterns are used for case constructs within Stateflow flow charts:

Straight Line Flow Chart PatternCurved Line Flow Chart Pattern
case with exclusive selection

case with exclusive conditions

The following patterns are used for for loops within Stateflow flow charts:

Straight Line Flow Chart PatternCurved Line Flow Chart Pattern
for loop

Straight Line Flow Chart PatternCurved Line Flow Chart Pattern
while loop

Straight Line Flow Chart PatternCurved Line Flow Chart Pattern
do while loop

The following patterns are alternately used for If-then-else-if constructs within Stateflow flow charts:

Straight Line Flow Chart PatternAlternate Straight Line Flow Chart Pattern
if then else if

Straight Line Flow Chart PatternAlternate Straight Line Flow Chart Pattern
Cascade of if then

Was this topic helpful?