Main Content

db_0141: Signal flow in Simulink models

Since R2020a

Guideline Publication

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

Sub ID Recommendations

  • NA-MAAB — No recommendations

  • JMAAB — a, b, c

MATLAB Versions

All

Rule

Sub ID a

Signals shall flow from left to right.

Exception

Feedback loops can flow from right to left.

Custom Parameter

Not Applicable

Example — Correct

Example — Incorrect

Sub ID b

Parallel blocks or subsystems shall be arranged from top to bottom.

Custom Parameter

Not Applicable

Example — Correct

Example — Incorrect

Sub ID c

Signal lines shall not bend multiple times unnecessarily.

Custom Parameter

Not Applicable

Example — Correct

Example — Incorrect

Rationale

Sub IDs a, b, c:

  • Deviation from the rules can impair readability.

Verification

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

Last Changed

R2020a

Version History

Introduced in R2020a