Effacer les filtres
Effacer les filtres

Getting data from a GUI

4 vues (au cours des 30 derniers jours)
KatherineS
KatherineS le 29 Juil 2019
Commenté : Adam le 30 Juil 2019
Hi,
I have a GUI set up, but i want to use the input from this data in a seperate function (called 'Atps') which is not my main. Is there a way i can get the variable out of the GUI function and into Atps?
Thanks in advance
  5 commentaires
KatherineS
KatherineS le 29 Juil 2019
Thank you for your reply, I get the error message "Dot indexing is not supported for variables of this type" when using this, is there any way to solve it?
Adam
Adam le 30 Juil 2019
It depends where you are getting the error and on what. The only place I use dot indexing above is on handles, which, if you are in a callback in GUIDE, should be a struct. If you aren't in GUIDE then you need to get hold of your components in a different way.

Connectez-vous pour commenter.

Réponses (0)

Catégories

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

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by