Main Content

Check position of signal labels

Check ID: mathworks.jmaab_v6.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 guideline sub ID(s) that are recommended for use by the JMAAB modeling standards organizations are:

  • JMAAB — a, b

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.

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.