Waitbar minimum progress increment too high

1 回表示 (過去 30 日間)
Joris Lambrecht
Joris Lambrecht 2018 年 3 月 22 日
回答済み: Rik 2018 年 3 月 22 日
On my system, I get the following results:
h1=waitbar(0.029)
h2=waitbar(0.03)
waitbar only increments in 0.03 (3%) jumps. The waitbar documentation example shows a loop with 1/1000 as increment. I've looked around but I can't find a property that affects this. My process can take up to an hour, so it could take almost 2 minutes before any indication of progress occurs. Any ideas?

回答 (1 件)

Rik
Rik 2018 年 3 月 22 日
You could round up to the next 3% after the first loop, or create a function yourself that works on a pixel basis with image.

カテゴリ

Help Center および File ExchangeDialog Boxes についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by