Main Content

jc_0061: Display of block names

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

Block names shall be hidden for blocks that meet either of these criteria:

  • Block type is evident from its visual appearance

  • Uses the default block name (including instances where only a number has been added at the end)

Block names shall be displayed if either of the above criteria is not met. However, Inports and Outports shall always display their names.

Custom Parameter

Blocks with a clear type due their appearance

Example — Displayed block names

Example — Hidden block names

Rationale

Sub ID a:

  • Improves model readability.

Verification

Model Advisor check: Check the display attributes of block names (Simulink Check)

Last Changed

R2020a

See Also

  • MISRA AC SLSF 026A

Version History

Introduced in R2020a