How to change the values (numeric and strings) of variables of an m.file with GUI

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!

 채택된 답변

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

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

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 App Building에 대해 자세히 알아보기

질문:

2013년 10월 3일

댓글:

dpb
2013년 10월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by