我们为许可用户提供了部分翻译好的中文文档。您只需登录便可查阅这些文档

clc

Clear Command Window

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 key, ↑, 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.

See Also

| | |

Was this topic helpful?