I solved that. There are two ways: 1)delete the input, 2)copy the line, delete it and paste it. The difference between these two cases is that in the second one the user can see that the line mantain its shape like the first one, but it must be considered that it is not linked to the outputs too.
Cut lines in Simulink
19 views (last 30 days)
Show older comments
Imagine a Simulink file and a line inside it from input (1), imagine that this line is very very ramified and linked to many different outputs. Now I want to change that from input (1) to input (2). Is there a fast way to move this line with the mouse/keyboard? I would not like to delete it and after create all the links again.
0 Comments
Answers (2)
Franz Faschinger
on 7 Jan 2022
One method is to drag a block with one input and one output (e.g. a gain block) to the location where the line shall be cut. Simulink automatically cuts the line and connects the ends to the block.
After that the block can be deleted or moved away by holding the shift key, then move the block with the mouse (left click).
0 Comments
See Also
Categories
Find more on Sources 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!