Robochameleon  v1.0
progress.m
Go to the documentation of this file.
1 function progress(i,L)
2 perc=i/L*100;
3 percFix=fix(perc);
4 if i==1
5  fprintf(1, '\b... ')
6 elseif abs(perc-percFix)<1e-3
7  fprintf(1,'\b\b\b\b%3d%%',percFix);
8 end
9 if i == L
10  disp(' ')
11 end
12 end