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

8 次查看(过去 30 天)
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

采纳的回答

Matt Fig
Matt Fig 2011-5-3
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Dialog Boxes 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by