Main Content

Check repetition of action types

Check ID: mathworks.jmaab.jc_0734

Guideline: jc_0734: Number of state action types

Description

This check identifies state actions that are used more than one time in a Stateflow® state. State action types include:

  • entry (en)

  • during (du)

  • exit (ex)

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 — a

  • JMAAB — a

Results and Recommended Actions

ConditionRecommended Action
An action types is used multiple times in a Stateflow state.Merge actions so that each type is used only once in a Stateflow state.

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.

  • Allows exclusions of charts.