How to exchange data between functions in a GUI?

I have two pushbuttton, two axes and an edit text box. First push button is to browse and select an image and selected image is displayed in first axes. Everything is fine with that button. What my problem is, i want to use that displayed image and word entered inside the text box while pressing the second pushbutton. Because the callback function of the second push button contains ".m" file which needs image and text to execute. I am unable to access that image. Please help..

Plus de réponses (0)

Catégories

En savoir plus sur Interactive Control and Callbacks dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by