Main Content

Check usage of parentheses in Stateflow transitions

Check ID: mathworks.jmaab.jc_0752

Guideline: jc_0752: Condition action in transition label


Checks if a new line is started before and after parentheses for condition actions in Stateflow® transitions.

This check requires a Simulink® Check™ and Stateflow 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 — No recommendations

  • JMAAB — a

Results and Recommended Actions

ConditionRecommended Action
Condition actions in Stateflow transitions are written beside parenthesis.Start new line before and after parentheses for condition actions in Stateflow transitions.

Capabilities and Limitations

  • Runs on library models.

  • Analyzes content in masked subsystems. By default, the input parameter Look under masks is set to graphical.

  • Analyzes content of library-linked blocks. By default, the input parameter Follow links is set to on.

  • Allows exclusions of blocks and charts.