How do i can return a value calculated by pushbutton by a second pushbutton ?
Ältere Kommentare anzeigen
Hello,
I'm using gui matlab to create an interface by which i can import an image, analyse it and calculate a value using a pushbutton1. The problem is I don't know how i can get the value calculated and display it using another pushbotton!
Thank you
Hadi
Akzeptierte Antwort
Weitere Antworten (1)
Hadi Hijazi
am 19 Dez. 2016
0 Stimmen
2 Kommentare
Adam
am 19 Dez. 2016
The whole link contains information about sharing data between callbacks which is what you are trying to do. Personally I use the 'Store Data Using the guidata Function' option for almost all my cases as it is very simple. There is no point me just creating an example that you can already read in the help there though.
Hadi Hijazi
am 19 Dez. 2016
Kategorien
Mehr zu Image Arithmetic 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!