Simulink connection without drawing lines?
    41 views (last 30 days)
  
       Show older comments
    
    Kevin Bachovchin
      
 on 17 Jan 2016
  
    
    
    
    
    Answered: Pranav Pillai
 on 25 Jan 2023
            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
  Walter Roberson
      
      
 on 17 Jan 2016
        Would it perhaps make sense to design pieces as "subsystems" ? If I understand correctly, subsystems can be represented as having input and output ports, so your lines would at worse go to the edge of the subsystem, without having to have each external line be drawn to each internal location that needs it.
3 Comments
  Walter Roberson
      
      
 on 17 Jan 2016
				It is not immediately obvious that you cannot do that; http://www.mathworks.com/help/simulink/ug/creating-subsystems.html
What happens if you create an existing circuit with a DC voltage input, select the parts after that in the circuit, and put them in a subsystem?
Are you using basic Simulink or are you using SimElectronics?
More Answers (2)
See Also
Categories
				Find more on Schedule Model Components in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


