5.0

5.0 | 4 ratings Rate this file 100 downloads (last 30 days) File Size: 1.6 KB File ID: #12352

Delete unconnected lines

by Per-Anders Ekstrom

 

21 Sep 2006 (Updated 21 Sep 2006)

Code covered by BSD License  

Delete unconnected lines under a Simulink system

Download Now | Watch this File

File Information
Description

While "googling" the Matlab newsgroup I saw there were interest in being able to delete all unconnected lines inside a Simulink model. That is without actually doing it manually in the Simulink diagram.

Required Products Simulink
MATLAB release MATLAB 7.2 (R2006a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
25 Sep 2006 Malcolm Wood

Nice. Seems to deal with all the obvious edge-cases.

28 Feb 2007 Roberto Cantamessa  
03 Jun 2008 Thierry Dalon

Very useful!
I've added this into my sl_customization.

14 Aug 2008 Christin Maier

Hi, I am trying to make a script, which deletes all contents of a simulink block diagram except its subfunctions, Ports and the lines between Subfunctions. Do you have any idea? (I know that's not the right place for the question but i am really in trouble)

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
simulink Per-Anders Ekstrom 22 Oct 2008 08:40:27
simulink unconnected loose lines delete Per-Anders Ekstrom 22 Oct 2008 08:40:27
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com