Main Content

db_0032: Signal line connections

Sub ID Recommendations

  • NA-MAAB — a1/a2, b, c, e

  • JMAAB — a1/a2, b, c, d, e

MATLAB Versions

All

Rule

Sub ID a1

Vertical and horizontal signal lines shall not cross over one another.

Custom Parameter

Not Applicable

Sub ID a2

(R2014a and later) When vertical and horizontal signal lines must cross, Simulink editor preference Line crossing style shall be set to Line hop.

Custom Parameter

Not Applicable

Example — Correct

The vertical line hops over the horizontal line.

Sub ID b

Signal lines shall not overlap with other signal lines.

Custom Parameter

Not Applicable

Sub ID c

Signal lines shall not cross over blocks.

Custom Parameter

Not Applicable

Sub ID d

Signal lines shall not split into more than two sub lines at a single branching point.

Custom Parameter

Not Applicable

Example — Correct

Example — Incorrect

Sub ID e

Signal lines shall be resized vertically or horizontally as required for the model layout.

Custom Parameter

Not Applicable

Rationale

Sub IDs a1, c:

  • Difficult to understand the relationships between blocks when signal lines cross.

Sub ID a2:

  • In R2014a and later, the difference between crossing and branching is clarified.

Sub ID b:

  • Difficult to understand the relationships between blocks when signal lines overlap.

Sub ID d:

  • Difficult to understand the relationships between blocks.

Sub ID e:

  • Consistent application of signal lines improves readability.

Verification

Model Advisor check: Check signal line connections (Simulink Check)

Last Changed

R2020a

See Also

Introduced in R2020a