You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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.
Cite As
Roland Pfister (2026). Clear All But (https://se.mathworks.com/matlabcentral/fileexchange/25339-clear-all-but), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: keep
General Information
- Version 1.0.0.0 (1.59 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
