MATLAB: Is it possible to rewrite/update a printed line

fprintf

I want to simulate a progress bar during the run, so 1% has to be updated to 2% for example

Best Answer

You may be able to do this, but you may instead want to use the waitbar function included in MATLAB.