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
조회 수: 25 (최근 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
참고 항목
카테고리
Help Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!