Fast Progress Display
No License
GETPCT.M is a function that will allow the user to monitor the progress of their job, without the overhead created with waitbar and other gui type progress bars. It simply will go through 10 20 30 40 50 60 70 80 90..done! on the command line, saving time and still showing you where the process is at.
There are some IF statements in this .m file, but it is a compromise. I could just use an fprintf to the line to be the fastest, but I didn't want multiple 10's or 20's..etc. to show up on the screen...just one of each. So, I created a "block" array that noted when each percent number was used and didn't use it again. This method is clean and still much faster than the gui progress bar.
Cite As
Harold Vanicek (2026). Fast Progress Display (https://www.mathworks.com/matlabcentral/fileexchange/6891-fast-progress-display), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | I am updating this file to explain the reasoning for some of the code. |
