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

5 visualizaciones (últimos 30 días)
Minh Tong
Minh Tong el 3 de Mayo de 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

Respuesta aceptada

Matt Fig
Matt Fig el 3 de Mayo de 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.

Más respuestas (0)

Categorías

Más información sobre Dialog Boxes en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by