How to get value from GUI and use it into another .m file ?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I have made a GUI. There is a function (.m file) which is not into the GUI but outside it. But i want to get a value from GUI and use it to that .m file and GUI as well.
0 comentarios
Respuestas (1)
Javier Bastante
el 16 de Mzo. de 2016
2 comentarios
Javier Bastante
el 18 de Mzo. de 2016
var=get(handles.edit1,'String');
and then you can use:
global var
or
save *.mat var %As seen on previous link
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!