フィルターのクリア

Add a progress bar to nonlinear solver

5 ビュー (過去 30 日間)
Wenwu
Wenwu 2016 年 9 月 6 日
コメント済み: Walter Roberson 2016 年 9 月 7 日
Hi, All
I am using matlab nonlinear solver 'fminunc' to solve one pretty big nonlinear program. The whole solving progress takes about 1 min. I want to display one progress bar/waitbar during the process without taking too much resources from calculation. Something similar to the optimoptions/Display/iter but with a gui bar. Is there any good way to do this? Thanks in advance

採用された回答

Walter Roberson
Walter Roberson 2016 年 9 月 7 日
You can use an options structure that invokes a plotfcn; see http://www.mathworks.com/help/optim/ug/fminunc.html#inputarg_options
  2 件のコメント
Wenwu
Wenwu 2016 年 9 月 7 日
Thanks, Mr. Walter! Again! I am still struggling with one proper customzied plot function but this points the direction. Thanks.
Walter Roberson
Walter Roberson 2016 年 9 月 7 日
At the init stage you would create the waitbar. As the iterations progress you would update the waitbar. At the final stage you would remove it.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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