Command-line progress bar (waitbar)

Versione 1.0.0.0 (977 Byte) da Ita Katz
Command-line equivalent of matlab's "waitbar"
527 download
Aggiornato 2 mag 2016

Visualizza la licenza

Matlab's "waitbar" is useful for tracking the progress of for-loops. However, it is not available when no GUI is used, and in addition, from my experience, it can be a run-time bottleneck if called many times. This file provides a textual equivalent to the waitbar, which works without GUI, and without flooding the commandline with many "printf"s.
Use example:
pb = CmdLineProgressBar('Doing stuff...');
for k = 1 : 10
pb.print(k,10)
% do stuff
end

Cita come

Ita Katz (2025). Command-line progress bar (waitbar) (https://it.mathworks.com/matlabcentral/fileexchange/56871-command-line-progress-bar-waitbar), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2014a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Environment and Settings in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0

updated description