File Exchange

image thumbnail

for_loop_progress

version 1.0.0.0 (691 Bytes) by jasongrig
simple and fast command line waitbar for "for" loops

1 Download

Updated 21 Aug 2017

View License

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.
EXAMPLE

>> i=1; step=2; len=20; Nincr=4;
>> for i:step:len
>> for_loop_progress(i,len,step,Nincr);
>> end

Outputs on the command line:
25%
50%
75%
100%

Cite As

jasongrig (2021). for_loop_progress (https://www.mathworks.com/matlabcentral/fileexchange/64195-for_loop_progress), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!