Main Content

db_0097: Position of labels for signals and buses

Since R2020a

Guideline Publication

Control Algorithm Modeling Guidelines - Using MATLAB®, Simulink®, and Stateflow®

Sub ID Recommendations

  • NA-MAAB — a, b

  • JMAAB — a, b

MATLAB Versions

All

Rule

Sub ID a

Signal line labels and bus labels shall be positioned below signal lines.

Custom Parameter

Not Applicable

Example — Correct

Signal line labels and bus labels are below signal lines.

Example — Incorrect

Signal line labels and bus labels are above the signal line.

Sub ID b

Signal line labels and bus labels shall be positioned at the origin of the connection.

Custom Parameter

Not Applicable

Example — Correct

Signal line labels and bus labels are positioned at the origin of the signal line connection.

Example — Incorrect

Signal line labels and bus labels are positioned at the destination of the signal line connection.

Rationale

Sub ID a, b:

  • Consistent label position prevents confusion with corresponding labels, signal lines, and buses, which improves the readability of the model.

Verification

Model Advisor check: Check position of signal labels (Simulink Check)

Last Changed

R2024b

Version History

Introduced in R2020a