parwaitbar

Matlab waitbar compatible with parfor.
46 Downloads
Aktualisiert 8. Sep 2019

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.

Zitieren als

Olivier Trottier (2024). parwaitbar (https://github.com/oliviertrottier/parwaitbar), GitHub. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2019a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Dialog Boxes finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!

Versionen, die den GitHub-Standardzweig verwenden, können nicht heruntergeladen werden

Version Veröffentlicht Versionshinweise
1.0.0

Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.
Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.