Delete all unconnected Lines from simulink diagram ?

90 views (last 30 days)
Answer: delete_line(find_system(Execution_level, 'FindAll', 'on', 'Type', 'line', 'Connected', 'off'))
  2 Comments
Manuel K
Manuel K on 29 Nov 2022
How can I do this inside a (self-modifying) library-block? The command does nothing in this scope.

Sign in to comment.

Answers (0)

Categories

Find more on Manage Design Data in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!