Main Content

na_0008: Display of labels on signals

Sub ID Recommendations

  • NA-MAAB — a, b

  • JMAAB — Not supported

MATLAB Versions

All

Rule

Sub ID a

A label shall be displayed on the signal line originating from these blocks:

Exception

When the signal label is visible in the originating block icon display, the signal does not need not to have the label displayed unless the signal label is needed elsewhere due to a destination-based rule.

Custom Parameter

Not Applicable

Sub ID b

A label shall be displayed on a signal line that connects (either directly or by way of a basic block that performs a non-transformative operation) to these destination blocks:

Custom Parameter

Not Applicable

Rationale

Sub ID a:

  • Improves readability, model simulation, and workflow.

  • Code generation may not be possible.

Sub ID b:

  • Improves readability, model simulation, and workflow.

Verification

Model Advisor check: Check signal line labels (Simulink Check)

Last Changed

R2020a

Introduced in R2020a