Command for closing message boxes
12 ビュー (過去 30 日間)
古いコメントを表示
Hey does anyone know how to close the message boxes via a command instead on having to click ok.
Cheers Michi
0 件のコメント
回答 (1 件)
Walter Roberson
2012 年 6 月 6 日
Which message boxes?
If you are referring to (for example) inputdlg() then it forms a modal dialog and waits to be closed; the only way that you could have something start itself executing in order to command the closing of the dialog box would be if you used a timer().
If, though, you use msgbox() then by default it does not create a modal dialog, You can use delete() on the handle returned by msgbox() in order to remove the msgbox() dialog.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Dialog Boxes についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!