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

7 visualizaciones (últimos 30 días)
yukihara
yukihara el 23 de Dic. de 2021
Editada: yukihara el 25 de Dic. de 2021
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!

Respuestas (1)

Jan
Jan el 23 de Dic. de 2021
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.

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by