Variable Strings in popup menu

1 vue (au cours des 30 derniers jours)
Marco Baglio
Marco Baglio le 22 Août 2016
Commenté : Marco Baglio le 22 Août 2016
I would like to know if it is possible to set a variable number of strings in a popupmenu depending on the number of an edit text. I'm working only with GUIDE and I looked for it on the web but I couldn't find anything for GUIDE. Thanks in advance

Réponses (1)

Adam
Adam le 22 Août 2016
Yes, just set the popupmenu string programmatically. Doesn't matter if you are in GUIDE or not, you can still set the popupmenu string whenever you want.
In your case you would want to do it in the editbox callback I assume.
  1 commentaire
Marco Baglio
Marco Baglio le 22 Août 2016
Could you give me a simple example please?

Connectez-vous pour commenter.

Catégories

En savoir plus sur App Building dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by