Importing data using MATLAB GUI and Pop-up Menu
6 次查看(过去 30 天)
显示 更早的评论
Hello everybody,
I am currently, for the first time, working on a project requiring an user interface. For this purpose I am using the MATLAB GUI tool.
I want to import climate data using a pop-up menu. For example it should be possible for the user to select a "Normal year reference" between three countries. So far I can select the country and compare it to a string, thus knowing which has been selected. However, I cannot get the GUI to load my data into the workspace. How can I solve this issue?
Alternatively it would be a possebility to load all data in the beginning of the code, but I have not been able to work that out either.
Any help would be greatly appricated.
Regards Mikael
0 个评论
回答(2 个)
Mikael
2013-8-26
编辑:Mikael
2013-8-26
1 个评论
Jan
2013-8-26
Please do not post comments in the section for answers, but as a comment.
It is still not clear to me, where we could help you. In which Workspace should the data be loaded in? A lot of problems with GUIs concern the storage of intermediate data and sharing them between different callbacks. So please search for "share data gui" in this forum at first.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!