Remove Sink Blocks

This function automatically removes all sink blocks from a model.
448 Downloads
Updated 1 Sep 2016

View License

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.

Cite As

Mike Anthony (2024). Remove Sink Blocks (https://www.mathworks.com/matlabcentral/fileexchange/40121-remove-sink-blocks), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on View and Analyze Simulation Results in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.1

Updated license

1.0.0.0