Trouble with function called from a GUI callback fonction
Afficher commentaires plus anciens
I use GUIDE to make an interface.
I obtain some callbacks in wich I want to use another function as follow:
function CallbackFunction(hObject, eventdata, handles)
...
myFunction(hObject, eventdata, handles);
...
guidata(hObject, handles);
end % function
fucntion myFunction(hObject, eventdata, handles)
...
handles.Var=
guidata(hObject, handles);
end % fonction
But this seems to cause me many problems. I seem to miss something.
I just want to write a function that is called from a callback function and that can change handles variables?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!