"Yuval" <
yuval...@geemail.dot.com> wrote in message
news:jcvurh$rdp$1...@newscl01ah.mathworks.com...
>> > Why should there be a flicker? (How can I get rid of it?)
>> ===================
>>
>>
>> Do you really need to repeatedly execute clc+fprintf even when the text
>> is not changing?
>
> Thanks for the effort Matt, but no cigar. As I mentioned above, in my real
> code the text is changing in every iteration (~10-40 milliseconds). It's
> giving me precise timing info about the actual computations that are being
> performed, but is nearly illegible because of the stupid flicker.
>
> Perhaps there is some Java-based alternative to clc ?
Do you really need to read the timing information in (roughly) real time?
I'm guessing the answer is no, in which case writing the information to a
log file (for later viewing) would be preferable to displaying it on the
screen.
Alternately, display the information in a dialog box (like MSGBOX) and
simply change the String property of the control containing the text each
time it updates. That way you won't be trying to clear and rewrite to the
Command Window each time.
--
Steve Lord
sl...@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com