Text Wait/Progress Bar

Version 1.0.1 (1,68 ko) par Xiaoxuan He
A command line version of waitbar() that prints progress in percentage.
211 téléchargements
Mise à jour 24 mai 2019

Afficher la licence

This is a command line version of waitbar(). Got inspired by Paul's version but tried to rewrite it in a simpler way, so that other people may find it easier to use or modify.

Usage:
Put it in your for loop. The function will update text message only when the percentage changes, therefore there's no need to add pause() in the loop. For example:

for i = 1:n
textwaitbar(i, n, msg);

% Your execution code.
...
...
...
end

Citation pour cette source

Xiaoxuan He (2026). Text Wait/Progress Bar (https://fr.mathworks.com/matlabcentral/fileexchange/71638-text-wait-progress-bar), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2019a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Loops and Conditional Statements dans Help Center et MATLAB Answers
Tags Ajouter des tags
Version Publié le Notes de version
1.0.1

Renewed image.

1.0.0