I have two blocks in my model. Block 1 has 5 output ports and block 2 has 5 input ports. I would like to connect all five ports (outport 1 to inport1, outport 2 to inport 2, etc) with one call of ADD_LINE.
MATLAB: How to connect multiple input and output ports using a single ADD_LINE function call in Simulink 6.5 (R2006b)
allattachlinesmacrosignalsimulinktogether
Related Question
- How to find the names of the ports within a subsystem that an external block is connected to in Simulink through the MATLAB command line
- Add_line or connect or other commands.
- How to use the ADD_LINE command with SimMechanics blocks
- How to connect a simscape block with add_line
- Invalid Simulink object name
Best Answer