Check definition of Stateflow events
Check ID:
mathworks.jmaab.db_0126
Guideline: db_0126: Defining Stateflow® events
Description
Stateflow events should be defined at the smallest possible scope of usage.
This check requires a Simulink® Check™ license.
Check Parameterization
This check does not include sub-checks because the MAB modeling guideline provides only one sub ID.
For reference, the MAB guideline sub ID(s) that are recommended for use by the NA-MAAB and JMAAB modeling standards organizations are:
NA-MAAB — a
JMAAB — a
Results and Recommended Actions
Condition | Recommended Action |
---|---|
One or more Stateflow events used in a chart are not defined at the same level in the hierarchy. | Consider defining the Stateflow events at the smallest scope of usage. |
Capabilities and Limitations
Runs on library models.
Analyzes content of library-linked blocks. By default, the input parameter Follow links is set to
on
.Analyzes content in masked subsystems. By default, the input parameter Look under masks is set to
graphical
.Support exclusions at chart level.