Command-line progress bar (waitbar)

Version 1.0.0.0 (977 octets) par Ita Katz
Command-line equivalent of matlab's "waitbar"
532 téléchargements
Mise à jour 2 mai 2016

Afficher la licence

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

Citation pour cette source

Ita Katz (2026). Command-line progress bar (waitbar) (https://fr.mathworks.com/matlabcentral/fileexchange/56871-command-line-progress-bar-waitbar), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2014a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Environment and Settings dans Help Center et MATLAB Answers
Version Publié le Notes de version
1.0.0.0

updated description