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
37 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(2 个)
Franz Faschinger
2022-1-7
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!