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!