Print yourself a progress bar in the command line. Includes a spinner! (Only limitation is your loop cannot print anything.)
Buffers itself to print every .1 second at max; so you don't have to worry about your screen refreshing too often. All the runtime options are configurable if you take a look at the code.
By default; does a 50 length progress bar that looks like this;
` [.......... ]-( 10%)`
Use like the following;
`for i = 1:N; progressbar(i, N); loopFunctionHere(some_vars); end`
Citation pour cette source
Batuhan Baserdem (2026). progressbar (https://fr.mathworks.com/matlabcentral/fileexchange/76343-progressbar), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxTags
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.1 | Changed description |
||
| 1.0.0 |
