Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

db_0149: Flow chart patterns for condition actions

ID: Title

db_0149: Flow chart patterns for condition actions

Priority

Strongly recommended

Scope

MAAB

MATLAB Versions

All

Prerequisites

None

Description

You should use the following patterns for condition actions within Stateflow® flow charts:

Equivalent FunctionalityFlow Chart Pattern
One condition action:
action; 

Two or more condition actions, multiline form:

(Two or more condition actions in one line are not allowed.)

action1; ... 
action2; ...
action3; ... 

Condition actions, that are visually separated:

(This form may be combined with the preceding patterns.)

action1a;  
action1b;  
action2;  
action3;

Rationale

  • Readability

Last Changed

V2.2

Model Advisor Check

Not applicable

Introduced in R2010a

Was this topic helpful?