clear except...

版本 1.0.0.0 (1.3 KB) 作者: Arnaud Laurent
clear workspace except prescribed variables
3.1K 次下载
更新时间 2008/6/4

查看许可证

This function clear all variables in the workspace except the variables listed in the function argument.
Example: clearex('var1',var2') will clear all variables in the workspace except var1 and var2.
Note: wildcards (e.g. 'var*') can be used.

引用格式

Arnaud Laurent (2024). clear except... (https://www.mathworks.com/matlabcentral/fileexchange/19548-clear-except), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2007a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Workspace Variables and MAT-Files 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0

updated to enable wildcards