How to display text in the same line after processing?
显示 更早的评论
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 !
采纳的回答
更多回答(1 个)
Simon Chan
2022-3-31
Somthing like this?
fprintf('Processing xyz file .....');
a = rand(10000,10000);
fprintf('done')
类别
在 帮助中心 和 File Exchange 中查找有关 File Operations 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!