Delete all unconnected Lines from simulink diagram ?
50 views (last 30 days)
Show older comments
Answer: delete_line(find_system(Execution_level, 'FindAll', 'on', 'Type', 'line', 'Connected', 'off'))
3 Comments
Manuel K
on 29 Nov 2022
How can I do this inside a (self-modifying) library-block? The command does nothing in this scope.
Answers (0)
See Also
Categories
Find more on Variables 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!