View License

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

» Watch video

Highlights from
Clear All But

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

Be the first to rate this file! 1 Download (last 30 days) File Size: 1.59 KB File ID: #25339 Version: 1.0

Clear All But

by

Roland Pfister (view profile)

 

Clear the workspace while keeping some of your variables.

| Watch this File

File Information
Description

Clear All But is an alternative version of David Yang's KEEP that I didn't know when doing this one.

The workspace is cleared as if the 'clear all' command was used but it is possible to keep some of your most beloved variables.

Acknowledgements

Keep inspired this file.

MATLAB release MATLAB 7.8 (R2009a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
17 Sep 2009 Jos (10584)

Jos (10584) (view profile)

Besides the existence of various KEEP functions, more recent versions of ML also know CLEARVARS, making this submission rather superfluous ...

Comment only

Contact us