View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Remove Sink Blocks

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

Be the first to rate this file! 0 Downloads (last 30 days) File Size: 34 KB File ID: #40121 Version:
image thumbnail

Remove Sink Blocks


Mike Anthony (view profile)


12 Feb 2013 (Updated )

This function automatically removes all sink blocks from a model.

| Watch this File

File Information

Often when debugging a Simulink model, users have many different kinds of Sink blocks in their model. After completing debugging, it is desireable to remove these to speed up simulation, reduce memory usage, and clean up the model.
This function gives the user the choice to automatically remove the following sink blocks from a model:
1. Scope & Floating Scope
2. Display
3. ToWorkspace
4. ToFile
5. XY Graph

The function also gives the user the option to remove sinks under model references.

Required Products Simulink
MATLAB release MATLAB 8.0 (R2012b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
01 Sep 2016

Updated license

Contact us