Shows on the command line the progress percentage of a "for" loop in adjustable intervals. Works also if the step of the "for" loop is not 1.
>> i=1; step=2; len=20; Nincr=4;
>> for i:step:len
Outputs on the command line:
jasongrig (2021). for_loop_progress (https://www.mathworks.com/matlabcentral/fileexchange/64195-for_loop_progress), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!