Main Content

db_0126: Defining Stateflow events

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

Introduced in R2020a