Can I hit the "OK" button on inputdlg through coding?

回答(1 个)

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.

类别

帮助中心File Exchange 中查找有关 App Building 的更多信息

产品

标签

提问:

2021-12-23

编辑:

2021-12-25

Community Treasure Hunt

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

Start Hunting!

Translated by