Main Content

db_0126: Defining Stateflow events

Since R2020a

Guideline Publication

Control Algorithm Modeling Guidelines - Using MATLAB®, Simulink®, and Stateflow®

Sub ID Recommendations

  • NA-MAAB — a

  • JMAAB — a

MATLAB Versions

All

Rule

Sub ID a

Stateflow events shall be defined by the smallest scope level in the Stateflow block being used.

Custom Parameter

Not Applicable

Example — Correct

Example — Incorrect

Rationale

Sub ID a:

  • Limiting use locations increases reliability.

Verification

Model Advisor check: Check definition of Stateflow events (Simulink Check)

Last Changed

R2020a

Version History

Introduced in R2020a