Add items to popupmenu through code (GUIDE)
Afficher commentaires plus anciens
Hi. I am not too familiar with GUIDE yet, I just started using it. I want to add items to the popupmenu from a textfile. I found a way to do it using uicontrol(), but then I don't have the same options as I. What I do is:
signalGenerators=importdata('availableSignalGenerators.txt').';
handleToListbox = uicontrol('Style', 'popup','Position', [20 60 200 60], 'String', signalGenerators);
This creates a popup-menu with all the available signal generators listed in availableSignalGenerators.txt. I don't see how I could import entries like this in GUIDE. Please help!
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Migrate GUIDE Apps dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!