How to display text in the same line after processing?
Show older comments
When I begin some data processing, I display a message - something like "Processing xyz file", after finishing the processing, I would like to display done but have it printed in the same line as before, such that it would look something like "Processing xyz file ..... done". How can i display "done" in the same line ?
Thank you !
Accepted Answer
More Answers (1)
Simon Chan
on 31 Mar 2022
Somthing like this?
fprintf('Processing xyz file .....');
a = rand(10000,10000);
fprintf('done')
Categories
Find more on Entering Commands in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!