Contenido principal

Identify unconnected lines, input ports, and output ports

Check ID: mathworks.design.UnconnectedLinesPorts

Check for unconnected lines or ports.

Description

This check lists unconnected lines or ports. These can have difficulty propagating signal attributes such as data type, sample time, and dimensions.

Note

Ports connected to ground/terminator blocks will pass this test.

Results and Recommended Actions

ConditionRecommended Action
Lines, input ports, or output ports are unconnected.Connect the signals. Double-click the list of unconnected items to locate failure.

Capabilities and Limitations

You can:

  • Run this check on your library models.

  • Exclude blocks and charts from this check if you have a Simulink® Check™ license.

Tips

Use the PortConnectivity command to obtain an array of structures describing block input or output ports.

See Also

Common Block Properties for information on the PortConnectivity command.

Model Advisor Exclusion Overview (Simulink Check)