Import Variables in GUI to the main workspace
2 次查看(过去 30 天)
显示 更早的评论
Hi, may I khow to import the variables working at GUI to the main working space using button callback? I wish to import the variables so that the data can be use for other computation and analysis purpose. Thanks you
0 个评论
采纳的回答
Arthur
2012-11-17
In the callback of your button, put
assignin('base','yourvariable',yourvariable)
If you have a simple GUI that is closed after variable selection, you could also make your variables outputs of the GUI, like:
output = myGUI();
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!