parwaitbar

Matlab waitbar compatible with parfor.
ダウンロード: 46
更新 2019/9/8

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.

引用

Olivier Trottier (2024). parwaitbar (https://github.com/oliviertrottier/parwaitbar), GitHub. 取得済み .

MATLAB リリースの互換性
作成: R2019a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersDialog Boxes についてさらに検索

Community Treasure Hunt

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

Start Hunting!

GitHub の既定のブランチを使用するバージョンはダウンロードできません

バージョン 公開済み リリース ノート
1.0.0

この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。
この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。