Matlab GUI does not respond when running ode solvers
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
更多回答(1 个)
Sean de Wolski
2014-11-3
You can put drawnow in your ode function. This forces the event queue (button pushes, callbacks etc., to be flushed)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Ordinary Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!