This bug has been fixed in MATLAB 7.0.4 (R14SP2). For previous releases, read below for any possible workarounds:
There is a bug in MATLAB 7.0 (R14) and 7.0.1 (R14SP1) in the way that the Command Window prints.
To work around this issue, add the CLC command to your startup.m file, by performing these steps:
1. Execute the following code at the MATLAB command prompt to determine if startup.m exists and open/ add startup.m:
if exist('startup')==2
edit startup
elseif exist('startup')==0
a = which('matlabrc');
parts = fileparts(a);
edit([parts, '\startup'])
end
2. After the last line of code, add:
3. Save startup.m
4. Close and restart MATLAB
This will clear the Command Window during startup.
Best Answer