Execute a callback function from outside of the GUI

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 日

3 投票

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 件)

カテゴリ

ヘルプ センター および File 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