db_0032: Signal line connections
Since R2020a
Guideline Publication
Control Algorithm Modeling Guidelines - Using MATLAB®, Simulink®, and Stateflow®
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.
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
.
Not Applicable
The vertical line hops over the horizontal line.
Sub ID b
Signal lines shall not overlap with other signal lines.
Not Applicable
Sub ID c
Signal lines shall not cross over blocks.
Not Applicable
Sub ID d
Signal lines shall not split into more than two sub lines at a single branching point.
Not Applicable
Sub ID e
Signal lines shall be resized vertically or horizontally as required for the model layout.
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
Version History
Introduced in R2020a