Main Content

Check for comments in unconditional transitions

Check ID: mathworks.jmaab.jc_0774

Guideline: jc_0774: Comments for through transition

Description

Identifies the comments in unconditional transitions without action statements.

This check requires Simulink® Check™ and Stateflow® licenses.

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

ConditionRecommended Action
One or more unconditional transitions without action statements do not have comments.Consider adding a comment explaining the unconditional transition.

Capabilities and Limitations

  • Runs on library models.

  • Supports exclusions of blocks or charts.

  • 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.