Remove dashed lines from Simulink diagram
이전 댓글 표시
Hello,
Sometimes, after editing a simulink diagram many red dashed lines remain on diagram. Is it possible to remove all them at once ? Thanks.
답변 (1개)
Robert
2016년 11월 7일
delete_line(find_system(your_model, 'FindAll', 'on', 'Type', 'line', 'Connected', 'off'))
댓글 수: 2
Robert
2016년 11월 8일
Not that I am aware. This code will find and delete all unconnected lines, which is something that should be done carefully. If you want to make it easy to do repeatedly, you could consider making it the ClickFcn of an annotation on your diagram.
카테고리
도움말 센터 및 File Exchange에서 Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!