Can I hit the "OK" button on inputdlg through coding?
7 ビュー (過去 30 日間)
古いコメントを表示
In this case ( https://www.mathworks.com/matlabcentral/answers/96229-how-can-i-have-a-dialog-box-or-user-prompt-with-a-time-out-period ),
the dialog was canceled after time-out.
I want to know whether there is a method that can be used to confirm the dialog after time-out?
Thanks!
0 件のコメント
回答 (1 件)
Jan
2021 年 12 月 23 日
See this example for creating your own dialog with a timer: https://www.mathworks.com/matlabcentral/fileexchange/24871-autowarndlg
You can look into the code of inputdlg to find out, which callback is triggered by pressing the corresponding button. Then you can call this callback programmatically also.
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!