|
|
| File Information |
| Description |
If you have a time consuming loop, you can measure the time to end with this function. The only thing you have to know is the total number of loops to do.
For instance if you use:
>>for j = 1:10^6
>>statement;
>>progress_bar(j, 10^6);
>>end
you get the same result in screenshot.
|
| MATLAB release |
MATLAB 7.4 (R2007a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 12 May 2009 |
A third optional input parameter is added. it is useful if embedding the progress_bar function within another function in order to visualize for instance its name (e.g. see screenshot). |
|
Contact us at files@mathworks.com