The following Matlab project contains the source code and Matlab examples used for progress bar.
Displays the progress of the loop that it was called in
NOTE: tic needs to be called at the beginning of the loop
NOTE: progress_bar() needs to be called at the end of the loop
INPUTS:
iter: the loop index number
iter_total: the total # of iterations in the loop
OUTPUTS:
the command window will display something similar to
>>>====== 31% complete 15/47 20 secs left
USAGE EXAMPLE:
len = 47;
for i = 1:len
tic;
A = rand(500);
a = eigs(A);
progress_bar(i, len);
end
Author: Varsha Shankar
04 Dec 2013.
The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.
Project Files:
File Name | Size |
---|---|
license.txt | 1306 |
progress_bar.m | 2149 |