Execute a callback function from outside of the GUI
조회 수: 20 (최근 30일)
이전 댓글 표시
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
채택된 답변
Sean de Wolski
2012년 4월 18일
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!