Main Content

db_0097: Position of labels for signals and buses

Sub ID Recommendations

  • NA-MAAB — a, b, c

  • JMAAB — a, b,c

MATLAB Versions

All

Rule

Sub ID a

Signal line labels and bus labels shall not overlap other labels, signal lines, or blocks.

Custom Parameter

Not Applicable

Example — Correct

Signal line labels and bus labels do not overlap other labels, signal lines, or blocks.

Example — Incorrect

Signal line labels and bus labels overlap other labels, signal lines, or blocks.

Sub ID b

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 c

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:

  • Adherence to this rule prevents confusion with corresponding names, signal lines, and buses, which improves readability of the model.

Sub ID b, c:

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

Verification

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

Last Changed

R2020a

See Also

Introduced in R2020a