passing variable from one callback to another callback in gui
이전 댓글 표시
function first_Callback(hObject, eventdata, handles)
k=2;
function second_Callback(hObject, eventdata, handles)
g=k+1;
disp(g);
I want to use the k value in first function in second. How do I use it? Please help me...
답변 (2개)
Rik
2019년 5월 12일
0 개 추천
Store the value of k inside your guidata struct.
Image Analyst
2019년 5월 12일
0 개 추천
This is a FAQ, so See the FAQ document
카테고리
도움말 센터 및 File Exchange에서 Display Image에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!