Trouble with function called from a GUI callback fonction
显示 更早的评论
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?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!