When we use connect function to connect System Composer components, the connection between the respective components in the diagram are not getting connected.

When we use the function "connect" to establish connection between the components in System Composer, the corresponding diagram is not getting updated, i.e., there are no connections shown between the respective components in the diagramatic view. Why is it like this?

Answers (1)

Hello,
This happens because the connect function creates logical connectors in the architecture model (API level), but it does NOT automatically update the layout/diagram visualization.
Fix would be running layout/refreshing manually, such as:
Simulink.BlockDiagram.arrangeSystem("modelName")
Connections are created in the model, but the diagram isn’t auto-rendered/arranged, so you don’t see them until you refresh/layout the view.
Hope this helps.

Categories

Find more on System Composer in Help Center and File Exchange

Products

Release

R2025a

Asked:

on 13 May 2026 at 11:52

Answered:

on 21 May 2026 at 5:54

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!