Create a waitbar to see the progress time evolution of the code without for loop
3 次查看(过去 30 天)
显示 更早的评论
Hi!
I have a matlab code without a for loop, like in the following pseudocode exemple:
a=1;
b=2;
do instruction 1
do instruction 2
.........
do instruction n
Is there any chance to create a waitbar to see the progress of the neccessary time for finishing the instructions.
I now about "tic-toc", but i would like to se a progress bar.
Thank you!
2 个评论
Mario Malic
2020-11-7
You can write a function that updates the progress bar based on the value of input argument, then you call the function at some points in the code, maybe after certain instructions.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Dialog Boxes 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!