- you can print at which iteration it is with disp
- or you can use waitbar (but unless they improved its performance it's gonna slow you down a bit)
- or use one of the many ASCII waitbar submissions (won't impact on the program as much as a graphical bar)
Time to run a program
1 回表示 (過去 30 日間)
古いコメントを表示
Hi,
I have a program running since yesterday. I am wondering if there is a way to test and approximate how much time a program should take to finish because i am wondering what if it keeps on running for ages.
0 件のコメント
採用された回答
Oleg Komarov
2011 年 8 月 6 日
If your program runs a loop:
1 件のコメント
Walter Roberson
2011 年 8 月 6 日
Though unfortunately all of the above have to be implemented _before_ the program is run. Once the program is running, there is no way to query the state of the program.
その他の回答 (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!