Matlab GUI does not respond when running ode solvers

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

 採用された回答

Bo
Bo 2014 年 11 月 3 日

0 投票

Thanks for your quick reply. Calling to drawnow() makes it work better.

その他の回答 (1 件)

Sean de Wolski
Sean de Wolski 2014 年 11 月 3 日

0 投票

You can put drawnow in your ode function. This forces the event queue (button pushes, callbacks etc., to be flushed)

カテゴリ

ヘルプ センター および File ExchangeProgramming についてさらに検索

タグ

質問済み:

Bo
2014 年 11 月 3 日

回答済み:

Bo
2014 年 11 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by