clc 函数

  • Post author:
  • Post category:其他

clc 函数

Clear Command Window

窗口清除命令

Graphical Interface

图表界面

As an alternative to the clc function, use Clear Command Window in the MATLAB desktop Edit menu.

作为一个交替clc功能的是,在MATLAB桌面的Edit(编辑)菜单中的clear command window

Syntax

语法

Clc

Description

描述

clc clears all input and output from the Command Window display, giving you a “clean screen.”

Clc 清除所有来自窗口命令行界面显示的输入和输出的内容,给你一个“干净的屏幕”

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.

使用clc之后,你不能使用scroll bar来查看函数历史,但是你能够使用command history进行查阅命令使用的历史记录。

Examples

例如:

Use clc in an M-file to always display output in the same starting position on the screen.

在一个M-file中使用clc经常用来在屏幕上在相同开始位置显示输出。