How do I monitor the progress of my calculation or script in MATLAB?

70 views (last 30 days)
I would like to know how much of the script is complete, ideally as time left for completion.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 19 Apr 2023
Edited: MathWorks Support Team on 19 Apr 2023
There is no built-in functionailty to perform this in MATLAB beyond specifying debug statements and print-to-screen updates at specific sections of the user's code.
As a workaround, a WAITBAR could be used in conjunction with the user's program file to monitor progress through sections of the code. One possible solution is outlined in this MATLAB Central blog post:
http://blogs.mathworks.com/loren/2007/08/01/monitoring-progress-of-a-calculation/
Note that MathWorks does not guarantee or warrant the use or content of these submissions. Any questions, issues, or complaints should be directed to the contributing author.

More Answers (0)

Categories

Find more on Dialog Boxes 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!