Delete all unconnected Lines from simulink diagram ?

조회 수: 38 (최근 30일)
Pruthvi G
Pruthvi G 2019년 3월 12일
댓글: NJ2Cali 2024년 4월 24일
Answer: delete_line(find_system(Execution_level, 'FindAll', 'on', 'Type', 'line', 'Connected', 'off'))
  댓글 수: 3
Manuel K
Manuel K 2022년 11월 29일
How can I do this inside a (self-modifying) library-block? The command does nothing in this scope.
NJ2Cali
NJ2Cali 2024년 4월 24일
set_param('MyLibrary', 'lock', 'off')

댓글을 달려면 로그인하십시오.

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by