Delete all unconnected Lines from simulink diagram ?
46 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 MATLAB Support for MinGW-w64 C/C++ Compiler 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!