Add a progress bar to nonlinear solver
조회 수: 2 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
채택된 답변
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
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 Exchange에서 Dialog Boxes에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!