Execute a callback function from outside of the GUI
19 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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?
0 commentaires
Réponse acceptée
Sean de Wolski
le 18 Avr 2012
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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!