How do you clear the console in MATLAB?
For example, I'm debugging a script that displays a ton of output. I want to clear the console on every run, so I don't have to look through output from old runs.
How do you clear the console in MATLAB?
For example, I'm debugging a script that displays a ton of output. I want to clear the console on every run, so I don't have to look through output from old runs.
>> clc %clear command
Related functions include:
>> clf %clear figure
>> cla %clear axis
>> close all %close all windows
>> clear %clear workspace of variables
One more option to achieve the clc is to right-clicking in the command window and choosing 'Clear command window'