Simulink connection without drawing lines?

1 view (last 30 days)
Hello,
Is there a way to connect two nodes in a Simulink diagram without drawing the lines (such as using ports or something like that)? I'm trying to simulate a relatively complex electric circuit in Simulink and if I try to draw all the lines, there's going to be a lot of lines overlapping each other. The circuit would be much cleaner to view if I could connect through ports at a few places instead.
Thank you, Kevin

Accepted Answer

Tushar Athawale
Tushar Athawale on 19 Jan 2016
The simplest solution is to use Goto and From tags in Simulink. You can refer to the documentation in the following link to understand the usage of Goto and From tags:
The other solution is to use data store memory and then read and write to the corresponding blocks instead of connecting them physically. However, this second solution will involve some physical connections, although less than before.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!