keep5

Version 1.0.0.0 (1.41 KB) by Siyi Deng
Retains variables specified in input but clears all others.
835 Downloads
Updated 7 Jun 2007

View License

Yet another version of KEEP. However the implementation is different.

This one supports exactly same input argument as CLEAR; for example, wildcard *, 'global', '-regexp' all works.

Cite As

Siyi Deng (2024). keep5 (https://www.mathworks.com/matlabcentral/fileexchange/15214-keep5), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Variables 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.0