- gitcloud
-
clc
Clear Command Window
GUI Alternatives
As an alternative to the clc function, select Edit > Clear Command Window in the MATLAB desktop.
Syntax
clc
Description
clc clears all input and output from the Command Window display, giving you a "clean screen."
After using clc, you cannot use the scroll bar to see the history of functions, but you still can use the up arrow to recall statements from the command history.
Examples
Use clc in a MATLAB code file to always display output in the same starting position on the screen.
简单的说就是清除屏幕之前打过的代码,清屏~
- S笔记
-
%这个是添加注释的意思,你这个程序后面添加这个没什么用,后面都没什么注释,可以不要
也就是个快速傅里叶变换的
程序运行结果
- 马老四
-
清空命令窗口的所有输入和输出,类似于清屏。
- 真可
-
清屏,将输出界面清空
- 阿啵呲嘚
-
清空命令行