Matlab GUI does not respond when running ode solvers

2 visualizaciones (últimos 30 días)
Bo
Bo el 3 de Nov. de 2014
Respondida: Bo el 3 de Nov. de 2014
Hi,
I have a program that calls MATLAB's ode solver. It usually takes a long time to complete, during that time, Matlab GUI becomes unresponsive. I have a program that reports the progress in the command window.I would like to monitor the progress. Is there a way to make sure Matlab GUI not locked up during heavy computation?
Bo

Respuesta aceptada

Bo
Bo el 3 de Nov. de 2014
Thanks for your quick reply. Calling to drawnow() makes it work better.

Más respuestas (1)

Sean de Wolski
Sean de Wolski el 3 de Nov. de 2014
You can put drawnow in your ode function. This forces the event queue (button pushes, callbacks etc., to be flushed)

Categorías

Más información sobre Programming en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by