Main Content

Check for usage of text inside states

Check ID: mathworks.jmaab.jc_0739

Guideline: jc_0739: Describing text inside states

Description

Identifies the Stateflow® states with text exceeding the boundary of the state.

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
One or more Stateflow states in the model have text exceeding the boundary of the state.Make sure that the text inside the Stateflow state does not go outside the boundary of the state.

Capabilities and Limitations

  • Flags Stateflow states in the model that have a newline character in the text. This happens even if the text inside the Stateflow state is contained within the boundary of the state.

  • 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 blocks and charts.