cle
Version 1.0.0.0 (1.51 KB) by
Sam Hallman
Clear all variables from memory EXCEPT the ones you specify (wildcards OK) (e.g, cle a* A*)
CLE Clear all variables from memory EXCEPT the ones you specify
You may use wildcards (e.g., cle a*) just as with the builtin CLEAR.
Matching is case sensitive
Examples
cle sam % clear all variables EXCEPT the 'sam' variable
cle x y z % clear all variables EXCEPT for x, y, and z
cle a* b* % clear all variables EXCEPT those starting with a or b
cle('name') % function form is OK too
Cite As
Sam Hallman (2024). cle (https://www.mathworks.com/matlabcentral/fileexchange/33548-cle), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2009a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Workspace Variables and MAT-Files in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |