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_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

For check details, see Check transition actions in Stateflow charts (Simulink Verification and Validation).

Introduced in R2010a

Was this topic helpful?