Main Content

Check position of signal labels

Check ID: mathworks.jmaab.db_0097

Guideline: db_0097: Position of labels for signals and buses

Description

Identify labels of signal lines and buses that are positioned incorrectly.

This check requires a Simulink® Check™ license.

Check Parameterization

This check contains sub-checks that correspond to sub IDs specified in the JMAAB modeling guidelines. You can use the Model Advisor Configuration Editor to specify which sub IDs (one or multiple) to execute.

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, b, c

  • JMAAB — a, b, c

Results and Recommended Actions

Guideline Sub IDConditionRecommended Action
db_0097_a: Check position of signal labels.One or more signal lines have labels placed at the top of the signal line.Place labels below signal lines.
db_0097_b: Check location of signal labels.One or more signals do not have labels positioned at the origin of the signal line.Place labels at the origins of signal lines.
db_0097_c: Check location of signal labelsOne or more signals in the model do not have labels located at the origin of the signal line.Place the signal labels at the origin of the signal line.

Capabilities and Limitations

  • The modify action for this check currently addresses the issue by changing the location and correcting the flip format of the signal label. This action will not modify the position of the signal line to correct the overlap of signal labels.

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

  • Analyzes content in masked files.

  • Support exclusions of blocks or charts.