Main Content

jc_0903: Prohibition of overlapping or crossing of blocks and signal lines

Since R2024b

Guideline Publication

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

Sub ID Recommendations

  • NA-MAAB — a, b1/b2

  • JMAAB — a, b1/b2

MATLAB Versions

All

Rule

Sub ID a

Blocks, block names, block annotations, annotations, and signal labels shall not overlap.

Exception

When modeling within an annotation frame by treating the frame as a subsystem boundary, only the lines of the annotation frame, not the entire frame, are subject to this rule.

Custom Parameter

Not Applicable

Example — Correct

Blocks, block names, and signal lines do not overlap.

Example — Incorrect

Blocks, block names, annotations, and signal labels overlap.

Sub ID b1

  • Signal lines shall not overlap with blocks, block names, block annotations, annotations, signal lines, or signal labels.

  • Signal lines shall not intersect with other signal lines.

Custom Parameter

Not Applicable

Exception

Intersection of annotation frames and signal lines when modeling within an annotation frame by considering the frame as a subsystem boundary.

Example — Incorrect

Signal lines overlap with blocks and block names, and also and intersect with other signal lines.

Sub ID b2

  • The Line crossing style shall be set to Line Hop option.

  • Signal lines shall not overlap with blocks, block names, block annotations, annotations, signal lines, or signal labels.

Custom Parameter

Not Applicable

Exception

Intersection of annotation frames and signal lines when modeling within an annotation frame by considering the frame as a subsystem boundary.

Example — Correct

Signal lines are not overlapped with blocks or block names.

Example — Incorrect

Signal lines are overlapped with blocks and block names.

Rationale

Sub IDs a, b1, b2:

  • Overlapping elements in a block diagram can reduce readability.

Verification

Model Advisor check: Check for prohibited overlapping or intersecting blocks and signal lines (Simulink Check)

Last Changed

R2024b

See Also

Signal Basics

Version History

Introduced in R2024b