Getting output from GUI
Mostrar comentarios más antiguos
I've created a GUI usind guide. I would to know how to output something from this GUI and immediately close it when a certain pushbutton in it is pushed.
2 comentarios
Kevin Chng
el 25 de Feb. de 2019
what outputs are you looking? An image, A numeric variable, A figure? Where do you want to store the output?
Edward Sullen
el 25 de Feb. de 2019
Respuestas (1)
Kevin Chng
el 25 de Feb. de 2019
Assume you know how to pass those data between the function in guide.
In the callback of your button, if val1 is your matrix, you want assign it to the workspace and name this variable in the workspace as 'test1'.
assignin('base','test1',val)
2 comentarios
Edward Sullen
el 25 de Feb. de 2019
Alexandre Cucatti dos Santos
el 27 de Mayo de 2019
I had a similar problem, this video helped me a lot:
hope it helps you too :)
Categorías
Más información sobre Interactive Control and Callbacks en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!