for_loop_progress

Version 1.0.0.0 (691 Bytes) by jasongrig
simple and fast command line waitbar for "for" loops
29 Downloads
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 (2024). for_loop_progress (https://www.mathworks.com/matlabcentral/fileexchange/64195-for_loop_progress), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Loops and Conditional Statements in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

Updated description