From: Andy on
You should probably report this issue to MATLAB tech support. My guess is that this is not the intended behavior, and something else unintended may also be happening. It would be best to understand the cause of the bug, not just the quick fix.
From: CRP on
"Andy " <myfakeemailaddress(a)gmail.com> wrote in message <i2n51e$5g0$1(a)fred.mathworks.com>...
> You should probably report this issue to MATLAB tech support. My guess is that this is not the intended behavior, and something else unintended may also be happening. It would be best to understand the cause of the bug, not just the quick fix.

I am experiencing the same issue on a Mac. Here is how I can replicate the problem:

Please try the following in a terminal window (I run Snow Leopard but should be the same on Leopard):
1) start matlab command line via "matlab -nodesktop"
2) type "disp(sprintf('ccc'))"
3) now quit matlab and try to type at the terminal command prompt, everything should work fine
4) re-enter matlab as at point 1
5) type "disp(sprintf(repmat('c',1,3)))", this should give the same output as at point 2
6) now quit matlab and try to type at the command prompt. In my case, I am unable to see anything