| MATLAB Function Reference | ![]() |
As an alternative to commandhistory, select Desktop > Command History to open it, or Window > Command History to select it.
commandhistory
commandhistory opens the MATLAB® Command History window when it is closed, and selects the Command History window when it is open. The Command History window presents a log of the statements most recently run in the Command Window.

MATLAB Desktop Tools and Development Environment Documentation
![]() | comet3 | commandwindow | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |