Simulink connection without drawing lines?

7 次查看(过去 30 天)
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

采纳的回答

Tushar Athawale
Tushar Athawale 2016-1-19
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by