keep

版本 1.0.0.0 (810 字节) 作者: David Yang
KEEP is complementary to the "clear" command: it keeps the supplied variables and deletes the rest.
17.2K 次下载
更新时间 1999/8/10

无许可证

编者注: 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 (2024). keep (https://www.mathworks.com/matlabcentral/fileexchange/181-keep), MATLAB Central File Exchange. 检索来源 .

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

启发作品: keep2, KEEP3, keepfield, Keep4, Clear All But

Community Treasure Hunt

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

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