Contents

db_0151: State machine patterns for transition actions

ID: Title

db_0151: State machine patterns for transition actions

Priority

Strongly recommended

Scope

MAAB

MATLAB Versions

All

Prerequisites

None

Description

The following patterns are used for transition actions within Stateflow® state machines:

Equivalent FunctionalityState Machine Pattern
One transition action:
action; 

Two or more transition actions, multiline form:

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

action1;  
action2;  
action3;

Rationale

  • Readability

  • Workflow

  • Verification and Validation

  • Code Generation

  • Simulation

Last Changed

V2.2

Model Advisor Check

By Task > Modeling Standards for MAAB > Stateflow > Check transition actions in Stateflow charts

Was this topic helpful?