Main Content

db_0081: Unconnected signals and blocks

Since R2020a

Guideline Publication

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

Sub ID Recommendations

  • NA-MAAB — a, b

  • JMAAB — a, b

MATLAB Versions

All

Rule

Sub ID a

The model shall not have signal lines that are not connected.

Custom Parameter

Not Applicable

Example — Correct

Example — Incorrect

Sub ID b

The model shall not have subsystems or basic blocks that are not connected.

Custom Parameter

Not Applicable

Example — Correct

Example — Incorrect

Rationale

Sub IDs a, b:

  • Unconnected lines can have adverse effects, such as simulation errors or failure to generate code.

Verification

Model Advisor check: Check for unconnected signal lines and blocks (Simulink Check)

Last Changed

R2020a

Version History

Introduced in R2020a