Documentation Center

  • Trial Software
  • Product Updates

Contents

na_0008: Display of labels on signals

ID: Title

na_0008: Display of labels on signals

Priority

Recommended

Scope

MAAB

MATLAB Versions

All

Prerequisites

None

Description

  • A label must be displayed on a signal originating from the following blocks:

    • Inport block

    • From block (block icon exception applies – see the following Note

    • Subsystem block or Stateflow® chart block (block icon exception applies)

    • Bus Selector block (the tool forces this to happen)

    • Demux block

    • Selector block

    • Data Store Read block (block icon exception applies)

    • Constant block (block icon exception applies)

  • A label must be displayed on any signal connected to the following destination blocks (directly or by way of a basic block that performs a nontransformative operation):

    • Outport block

    • Goto block

    • Data Store Write block

    • Bus Creator block

    • Mux block

    • Subsystem block

    • Chart block

      Note:   Block icon exception (applicable only where called out): If the signal label is visible in the originating block icon display, the connected signal does not need to have the label displayed, unless the signal label is needed elsewhere due to a destination-based rule.

Correct

Incorrect

Rationale

  • Readability

  • Verification and Validation

  • Workflow

  • Verification and Validation

  • Code Generation

Last Changed

V2.2

Model Advisor Check

By Task > Modeling Standards for MAAB > Simulink > Check signal line labels

Was this topic helpful?