Main Content

jc_0110: Direction of block

Since R2020a

Guideline Publication

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

Sub ID Recommendations

  • NA-MAAB — No recommendations

  • JMAAB — a

MATLAB Versions

All

Rule

Sub ID a

Blocks shall be arranged so the output is to the right.

Exception

When a Delay is used in a feedback loop, the output can be to the left.

Custom Parameter

Not Applicable

Example — Correct

The model is arranged so that the output is to the right. The output of the Delay block is to the left.

Example — Incorrect

The block is arranged so the output is to the left.

Rationale

Sub ID a:

  • Signal flow can be difficult to understand if the direction of the signals is not consistent.

Verification

Model Advisor check: Check block orientation (Simulink Check)

Last Changed

R2020a

Version History

Introduced in R2020a