clr == clear all; close all; clc;
版本 1.1.0.0 (986 字节) 作者:
Brenden Epps
clr clears your workspace and command window, so you can start fresh.
编者注: This file was selected as MATLAB Central Pick of the Week
clr performs: clear all; close all; clc;
This clears your workspace, closes all figures, and clears command window.
clr is a quick way to "reset" Matlab.
The only point of this function is to save key strokes. If you use Matlab often and you value your time, then this function may appeal to you.
引用格式
Brenden Epps (2024). clr == clear all; close all; clc; (https://www.mathworks.com/matlabcentral/fileexchange/37058-clr-clear-all-close-all-clc), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2010a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Workspace Variables and MAT-Files 的更多信息
标签
致谢
启发作品: cch - close, clear, home, nuke
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!