Dialogs do not close
1 回表示 (過去 30 日間)
古いコメントを表示
I use the inputdlg and questdlg for user feedback. My problem is that the dialogs do not close when a button is pressed.
My current solution is to do a pause(1), this will update the dialog and close it. I would like a solution, that does not last a second...
Another problem is that button with focus is not activated by pressing enter. Any thoughts on this?
I use MatLab 7.11.0.584 (R2010b) on Vista Home premium 32
0 件のコメント
採用された回答
Fangjun Jiang
2011 年 10 月 14 日
I had the same problem. My experience is that the dialog won't close if there is intense calculation/operation right after the user feedback.
You can try to use drawnow() to replace pause(). I found it didn't work as well as pause(). In my situation, pause(0.2) is sufficient enough.
その他の回答 (1 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!