for_loop_progress

simple and fast command line waitbar for "for" loops

You are now following this Submission

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 (2026). for_loop_progress (https://www.mathworks.com/matlabcentral/fileexchange/64195-for_loop_progress), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Loops and Conditional Statements in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

Updated description