This is machine translation

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

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

na_0038: Levels in Stateflow charts

ID: Title

na_0038: Levels in Stateflow charts

Priority

Recommended

Scope

NA-MAAB

MATLAB Versions

All

Description

The number of nested States should be limited, typically 3 per level. If additional levels are required, use sub-charts.

Incorrect: Level_4_a and Level_4_b are nested more than 3 deep

Correct: The 4 levels are encapsulated inside a subchart

Rationale

  • Readability

Last Changed

V3.0

Model Advisor Check

By Task > Modeling Standards for MAAB > Stateflow > Check nested states in Stateflow charts

For check details, see Check nested states in Stateflow charts.

Introduced in R2013a