Main Content

Check for unconnected signal lines and blocks

Check ID: mathworks.jmaab.db_0081

Guideline: db_0081: Unconnected signals and blocks

Description

Check whether model has unconnected blocks or signal lines.

Unconnected blocks and signal lines should be connected to Terminator or Ground blocks.

This sub-ids of this check apply to the following target components:

  • Sub ID a — Signal lines in a Simulink® model.

  • Sub ID b — Basic blocks, subsystems, models, charts, and MATLAB® functions.

This check requires a Simulink Check™ license.

Check Parameterization

This check contains sub-checks that correspond to sub IDs specified in the MAB and JMAAB modeling guidelines. You can use the Model Advisor Configuration Editor to specify which sub IDs (one or multiple) to execute.

For reference, the MAB guideline sub ID(s) that are recommended for use by the NA-MAAB and JMAAB modeling standards organizations are:

  • NA-MAAB — a, b

  • JMAAB — a, b

Results and Recommended Actions

Guideline Sub IDConditionRecommended Action
db_0081_a: Check for unconnected signal linesOne or more signal lines in the model are not connected.Connect the signal lines to the correct source or destination block. If the destination block is not known, use a Terminator or Ground block to terminate the line.
db_0081_b: Check for unconnected subsystems and basic blocksOne or more blocks in the model are not connected.Connect the blocks to the correct source or destination block. If the destination block is not known, use a Terminator or Ground block to terminate the line.

Capabilities and Limitations

  • Runs on library models.

  • Analyzes content of library-linked blocks. By default, the input parameter Follow links is set to on.

  • Analyzes content in masked subsystems. By default, the input parameter Look under masks is set to graphical.

  • Allows exclusions of blocks and charts.