Skip to Main Content Skip to Search
Product Documentation

Adjust Command History Window Appearance

Delete Entries from the Command History Window

Consider deleting entries from the Command History window when it becomes difficult to find the lines you want.

To delete specific entries in the Command History window:

  1. Select the entries to delete.

      Tip   To select all entries for a session, select the timestamp for that session.

  2. Right-click and select Delete Selection from the context menu, or press the Delete key.

To delete all entries, right-click in the Command History window, and then select Clear Command History from the context menu.

Change the Date Format in the Command History Window

MATLAB uses your operating system's short date format to display dates in the Command History window. To change the date format, for instance from MM/DD/YYYY to DD/MM/YYYY:

  1. Change the short date format for your operating system as described in its documentation.

  2. Right-click in the Command History window and select Clear Command History.

      Note   Clearing the command history deletes all entries from the Command History window. This means you can no longer recall those entries in the Command Window.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS