progress bar

This function print on your command window a handmade progress bar.

Al momento, stai seguendo questo contributo

If you have a time consuming loop, you can measure the time to end with this function. The only thing you have to know is the total number of loops to do.
For instance if you use:
>>for j = 1:10^6
>>statement;
>>progress_bar(j, 10^6);
>>end
you get the same result in screenshot.

Cita come

Giuliano Langella (2026). progress bar (https://it.mathworks.com/matlabcentral/fileexchange/23892-progress-bar), MATLAB Central File Exchange. Recuperato .

Categorie

Scopri di più su App Building in Help Center e MATLAB Answers

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.1.0.0

A third optional input parameter is added. it is useful if embedding the progress_bar function within another function in order to visualize for instance its name (e.g. see screenshot).

1.0.0.0