필터 지우기
필터 지우기

Cut lines in Simulink

조회 수: 25 (최근 30일)
Marcello Asciolla
Marcello Asciolla 2017년 5월 31일
답변: Franz Faschinger 2022년 1월 7일
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.

답변 (2개)

Marcello Asciolla
Marcello Asciolla 2017년 5월 31일
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.

Franz Faschinger
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).

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by