Remove lines
Version 1.0.0.1 (1.72 KB) by
Stacey Gage
Delete all lines from one specified level of a model.
Remove_lines.m deletes all lines from the specified level within a Simulink model.
Remove_lines.m can be used as a post-processing tool for SystemBuild to Simulink (SB2SL) translator.
You can move from the top level of your system through all subsystems removing the auto-generated lines instantly allowing you re-wire your model using buses, muxes or any way you desire.
Cite As
Stacey Gage (2026). Remove lines (https://www.mathworks.com/matlabcentral/fileexchange/2926-remove-lines), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R12.1
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Programmatic Model Editing in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: highspeed
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
