How to change the values (numeric and strings) of variables of an m.file with GUI
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Lysimachos-Ioannis
el 3 de Oct. de 2013
Comentada: dpb
el 4 de Oct. de 2013
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 comentarios
Respuesta aceptada
dpb
el 3 de Oct. de 2013
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 comentarios
Más respuestas (1)
Lysimachos-Ioannis
el 4 de Oct. de 2013
1 comentario
dpb
el 4 de Oct. de 2013
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).
Ver también
Categorías
Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!