Short answer, the clc function:
>> clc
You can also select Edit > Clear Command Window in the MATLAB desktop (older versions) or select Clear Command Window from the Command Window pull-down menu:

Short answer, the clc function:
>> clc
You can also select Edit > Clear Command Window in the MATLAB desktop (older versions) or select Clear Command Window from the Command Window pull-down menu:
