Add a progress bar to nonlinear solver
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Wenwu
el 6 de Sept. de 2016
Comentada: Walter Roberson
el 7 de Sept. de 2016
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 comentarios
Respuesta aceptada
Walter Roberson
el 7 de Sept. de 2016
You can use an options structure that invokes a plotfcn; see http://www.mathworks.com/help/optim/ug/fminunc.html#inputarg_options
2 comentarios
Walter Roberson
el 7 de Sept. de 2016
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.
Más respuestas (0)
Ver también
Categorías
Más información sobre Dialog Boxes en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!