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 disping 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.
You can use
waitbarfunction for that. See MATLAB Documentation on waitbar.