How to use a same variable to functions in Gui?
显示 更早的评论
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 个评论
Shameer Parmar
2018-10-19
编辑:Shameer Parmar
2018-10-19
Are you sure you want to click on menu item ? OR you want to say push button of GUI?
Daniel Fonsêca
2018-10-23
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Workspace Variables and MAT Files 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!