Execute a callback function from outside of the GUI

22 次查看(过去 30 天)
I have a callback function in a GUI: Mesh_Callback(hObject, eventdata, handles). the GUI name is 'test'. How do i execute this callback function without using the GUI?

采纳的回答

Sean de Wolski
Sean de Wolski 2012-4-18
look at the help for the GUI. I.e, if your file is names MyGUI:
help myGUI
or look that commented text at the top of the GUI's *.m file:
% UNTITLED('CALLBACK',hObject,eventData,handles,...) calls the local % function named CALLBACK in UNTITLED.M with the given input arguments. %

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by