Variable Strings in popup menu

2 次查看(过去 30 天)
Marco Baglio
Marco Baglio 2016-8-22
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

回答(1 个)

Adam
Adam 2016-8-22
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.

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by