See the answer to question #26: http://www.mathworks.com/matlabcentral/fileexchange/24861-41-complete-gui-examples
pass variable from a GUI to another
1 次查看(过去 30 天)
显示 更早的评论
Hi... how do i pass variable from one gui another gui? I am doing a vending machine controller. On my GUI screen i'll have items buttons and insert money button. When i click on insert money button, and GUI pops out. To make another GUI pop out when i click the insert money, i simply put the another GUI's file name at the buttons callback. In another GUI will have 3 choices of amount as the money inserted by user " 1$ 5$ 10"$, how do i pass this variable from the Sub gui to the main gui???
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Function Creation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!