Variable Strings in popup menu
2 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
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 Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!