Products & Services Industries Academia Support User Community Company

Learn more about MATLAB   

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.

See Also

clear, clf, close, home

  


Free MATLAB Interactive Kit

Explore how to use MATLAB to make advancements in engineering and science.


Download free kit

Trials Available

Try the latest version of MATLAB and other MathWorks products.


Get trial software
 © 1984-2010- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS