Delete all unconnected Lines from simulink diagram ?

63 Ansichten (letzte 30 Tage)
Pruthvi G
Pruthvi G am 12 Mär. 2019
Kommentiert: NJ2Cali am 24 Apr. 2024
Answer: delete_line(find_system(Execution_level, 'FindAll', 'on', 'Type', 'line', 'Connected', 'off'))
  3 Kommentare
Manuel K
Manuel K am 29 Nov. 2022
How can I do this inside a (self-modifying) library-block? The command does nothing in this scope.
NJ2Cali
NJ2Cali am 24 Apr. 2024
set_param('MyLibrary', 'lock', 'off')

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by