编者注: This file was a File Exchange Pick of the Week.
KEEP is complementary to the "clear" command: instead of clearing the supplied variables, it keeps them and deletes the rest.
For example, the command " keep x y " clears all variables from the workspace except x and y.
引用格式
David Yang (2026). keep (https://ww2.mathworks.cn/matlabcentral/fileexchange/181-keep), MATLAB Central File Exchange. 检索时间: .
致谢
启发作品: keep2, KEEP3, keepfield, Keep4, Clear All But
| 版本 | 已发布 | 发行说明 | Action |
|---|---|---|---|
| 1.0.0.0 |
