How to access a variable of one callback function in another function in gui?
Ältere Kommentare anzeigen
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 Kommentar
Stephen23
am 6 Mär. 2018
If you are not using GUIDE I would recommend using nested functions: simple and intuitive. Otherwise use handles and guidata.
Antworten (0)
Kategorien
Mehr zu Interactive Control and Callbacks finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!