File Exchange Pick of the Week

Our best user submissions

Clear all but specified variables

KEEP can be thought of as the complement to CLEAR. KEEP clears all variables from the workspace except for those specified. I find KEEP to be one of those functions I use so much that I forget it isn't part of MATLAB.
|

Comments

To leave a comment, please click here to sign in to your MathWorks Account or create a new one.