How do I erase something I printed in the command window (to print something else instead)?
Show older comments
Hi,
Doesn't it sometimes bother you to let something run for hours and not see the progress, so that all you've got is to believe the 'busy' status of MATLAB?
Well,then it could be very friendly to display completion percentage. But all that i know is to fprintf something and never erase it. Now if i have many tasks running i'd like to know their status without having to type a list of percentages on the screen. For that i wanna know how to delete characters from the command window.
Thnx!
Accepted Answer
More Answers (2)
Friedrich
on 31 Aug 2011
0 votes
Hi,
you could use the clc command to clear the whole command window:
Bjorn Gustavsson
on 31 Aug 2011
0 votes
If you want something at the command-line you could also use:
It is a nice complement to waitbar.
Categories
Find more on App Building in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!