Clear command line, variables and command history in MATLAB
2009 October 26
Here are three useful MATLAB commands.
To clear the command line:
clc
To clear all variables:
clear all
To clear the command history:
com.mathworks.mlservices.MLCommandHistoryServices.removeAll
Just putting this information down for my own reference so I won’t have to search for it later.
2 Responses
leave one →
Just what i needed, how to clear the command history for Matlab R2010!
Thanks.
THX MAN