Getting output from GUI

21 vues (au cours des 30 derniers jours)
Edward Sullen
Edward Sullen le 25 Fév 2019
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 commentaires
Edward Sullen
Edward Sullen le 25 Fév 2019
I want to output two matrices that I calculate once the button is pressed. I want to store these matrices in variables in the workspace.

Connectez-vous pour commenter.

Réponses (1)

Kevin Chng
Kevin Chng le 25 Fév 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'.
  2 commentaires
Alexandre Cucatti dos Santos
I had a similar problem, this video helped me a lot:
hope it helps you too :)

Connectez-vous pour commenter.


En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange




Community Treasure Hunt

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

Start Hunting!

Translated by