How to access a variable of one callback function in another function in gui?
이전 댓글 표시
I have browsed an image using a pushbutton and stored it in a variable(let it be 'sm'). Now I want this image('sm') in callback function of another pushbutton so that I convert that image here.
댓글 수: 1
Stephen23
2018년 3월 6일
If you are not using GUIDE I would recommend using nested functions: simple and intuitive. Otherwise use handles and guidata.
답변 (0개)
카테고리
도움말 센터 및 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!