Desktop Tools and Development Environment Previous page   Next Page

Clearing the Command Window

Select Clear Command Window from the Edit menu or context menu to clear it. This does not clear the workspace, but only clears the view. Afterwards, you still can use the up arrow key to recall previous functions. A confirmation dialog box appears if you select the preference for it; see preferences for Confirmation Dialogs for more information.

Function Alternative.   Use clc to clear the Command Window. Similar to clc is the home function, which moves the prompt to provide a clear screen, but does not clear the text so you can still scroll up to see it.


Previous page  Formatting and Spacing Numeric Output Printing Command Window Contents Next page

© 1994-2005 The MathWorks, Inc.