Main Content

jc_0081: Inport and Outport block icon display

Since R2020a

Guideline Publication

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

Sub ID Recommendations

  • NA-MAAB — a

  • JMAAB — a

MATLAB Versions

All

Rule

Sub ID a

For Inport and Outport blocks, parameter Icon Display shall be set to Port number.

Custom Parameter

Not Applicable

Example — Correct

Example — Incorrect

Rationale

Sub ID a:

  • Improves readability by displaying the port number of Inport and Outport blocks.

  • Allows for easy identification of port numbers that are within a subsystem.

  • Prevents misconnections to hierarchized subsystems by displaying the block names and making the names of signal lines to the Inport and Outport blocks the same as the block names.

Verification

Model Advisor check: Check display for port blocks (Simulink Check)

Last Changed

R2020a

Version History

Introduced in R2020a