parwaitbar is a Matlab class that displays a progress bar compatible with for/parfor loops.
If parallel.pool.DataQueue is available, parwaitbar uses the queue to update the waitbar asynchronously.
If parallel.pool.DataQueue is unavailable, parwaitbar creates a temporary text file, saved in the current folder, to communicate information between workers. The file is deleted when the last task is completed.
Basic usage:
N = 100;
wb = parwaitbar(N);
parfor i=1:N
...
wb.progress();
end
See the Github repository for more detailed instructions on how to customize the waitbar.
I don't have a Windows machine at hand to test its compatibility. If you can succesfully test it on a Windows system, I'll be happy to update the platform compatibility.
Citar como
Olivier Trottier (2026). parwaitbar (https://github.com/oliviertrottier/parwaitbar), GitHub. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > App Building >
Etiquetas
Agradecimientos
Inspirado por: TimedProgressBar, Progress monitor (progress bar) that works with parfor
Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
No se pueden descargar versiones que utilicen la rama predeterminada de GitHub
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 1.0.0 |
|
