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

6 views (last 30 days)
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

Accepted Answer

Matt Fig
Matt Fig on 3 May 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.

More Answers (0)

Categories

Find more on Dialog Boxes in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!