How to change the values (numeric and strings) of variables of an m.file with GUI
1 次查看(过去 30 天)
显示 更早的评论
Hi to all,
i created m files that contain functions and a main script. I want to run the main script for many different cases but the main script has a lot of input information(values of variables, names of files etc). For these reason i decided to create a GUI environment to import each time the data i want to the main script.It's more easy to import graphically the numeric values or the strings of the variables, rather than to open each time the main script file and write them down. I tried to use the checkbox and the pushbuttons but it is very difficult. Do you know if it is possible to do such things with guide? If yes, could you please send me a relative link in order to see similar examples? If no, could you please tell me a different way to do what i have in mind?
Thanks in advance!
0 个评论
采纳的回答
dpb
2013-10-3
Look at
doc listdlg
doc uigetfile
and referenced friends therefrom for simpler, prepackaged dialogs that may be what you want/need to put something to together more quickly.
help uitools % list of UI functions from which to choose...
0 个评论
更多回答(1 个)
Lysimachos-Ioannis
2013-10-4
1 个评论
dpb
2013-10-4
Oh, I'm sure it is but I don't do GUIs so I'm not the one to advise on details...my Matlab use is solely for the results, not for presentation to the user (which is always also solely me).
另请参阅
类别
在 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!