db_0042: Usage of Inport and Outport blocks
Since R2020a
Guideline Publication
Control Algorithm Modeling Guidelines - Using MATLAB®, Simulink®, and Stateflow®
Sub ID Recommendations
NA-MAAB — a, b
JMAAB — a, b, c
MATLAB Versions
All
Rule
Sub ID a
The Inport block shall be positioned on the left side of the diagram, but can be moved to prevent the crossing of signals.
Not Applicable
Inport block is positioned on the left side of the diagram.
Inport block is not positioned on the left side of the diagram.
Sub ID b
The Outport block shall be positioned on the right side of the diagram, but can be moved to prevent the crossing of signals.
Not Applicable
Outport block is positioned on the right side of the diagram.
Outport block is not positioned on the right side of the diagram.
Sub ID c
Duplicate Inport blocks shall be prohibited.
Not Applicable
One Inport block is used.
Inport blocks is duplicated.
Rationale
Sub IDs a, b, c:
Defined operation rules improve readability.
Verification
Model Advisor check: Check position of Inport and Outport blocks (Simulink Check)
Last Changed
R2020a
Version History
Introduced in R2020a