Main Content

Check updates to variables used in state transition conditions

Check ID: mathworks.jmaab.jc_0741

Guideline: jc_0741: Timing to update data used in state chart transition conditions

Description

Checks if the variables used in state transition conditions perform an update by "during" state action type.

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
One or more variables in the state transition condition performs an update by "during" state action type. Make sure that the variables used in state transition conditions do not perform an update by "during" state action type.

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.