I've got a Matlab function that takes some time to run, and I'd like to show the user that progress is being made. Just disp
ing the progress every 5% or so would clutter the screen too much, as the previous text would not be erased.
How can this problem be solved? There's other important information in the command window, so clearing it is out of the question.