how to make callback ception!!
조회 수: 3 (최근 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!