Is there a way to record a user action into a script

5 vues (au cours des 30 derniers jours)
Minh Tong
Minh Tong le 3 Mai 2011
hi,
i would like to know if there is an option that allows the user to clicks, with a mouse, on a GUI or functions and be given the written function or variable on a script so that it can be modified. It is called recording Macro on other programs like Image-Pro.
Thanks

Réponse acceptée

Matt Fig
Matt Fig le 3 Mai 2011
The short answer is yes. You can use the INPUT function to get user input from the keyboard, or you can call QUESTDLG or one of its cousins ( INPUTDLG, LISTDLG, etc) to get the information from a GUI.

Plus de réponses (0)

Catégories

En savoir plus sur Dialog Boxes dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by