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!

采纳的回答

dpb
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...

更多回答(1 个)

Lysimachos-Ioannis
Lysimachos-Ioannis 2013-10-4
Thanks for your answer. Maybe i will do it as you proposed. So do you think that it is not possible to do the same by creating a GUI with GUIDE?
  1 个评论
dpb
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 CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by