How to use a same variable to functions in Gui?
Ältere Kommentare anzeigen
I have used the Gui to build the a programm. I would like when the user to click on menu item A, a number is stored in a variable. When the user click on menu item B, another number is stored in the same variable.
I want to use this variable in other function, in a loop. So, I'm trying that. Since now, I thank you for attention.
2 Kommentare
Shameer Parmar
am 19 Okt. 2018
Bearbeitet: Shameer Parmar
am 19 Okt. 2018
Are you sure you want to click on menu item ? OR you want to say push button of GUI?
Daniel Fonsêca
am 23 Okt. 2018
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Workspace Variables and MAT Files finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!