how to make callback ception!!
1 次查看(过去 30 天)
显示 更早的评论
i want to know how we can start any button with identity XYZ using some another buttons callback.
Thank you for your valuable suggestions!!
0 个评论
采纳的回答
Image Analyst
2014-1-19
Have the callback for XYZ call a function, myCallback, where everything is in there. Then myCallback can be called from any function at all.
function anyButton_Callback(hObject, eventdata, handles)
% Some code
myCallback(handles);
function XYZ_Callback(hObject, eventdata, handles)
% Some other code
myCallback(handles);
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Printing and Saving 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!