How to program a menu with callbacks upon selection?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Rakan
le 18 Avr 2023
Modifié(e) : chicken vector
le 20 Avr 2023
Hello,
I have to create a menu that has sub menu in app designer with the ability to know which option of the menu or the sub menu the user selects.Is there a simple way? Hereby a photo of the the menu that i want to create, please not that i want to create this menu dynamically by the code, because the sub menus are depending on a program.
0 commentaires
Réponse acceptée
chicken vector
le 19 Avr 2023
Modifié(e) : chicken vector
le 20 Avr 2023
Have a look at this simple app.
You can selecte different voices from the menu bar and see the results on the GUI.
Be careful, if you want to implement this in app designer the syntax for the callbacks is slightly different, but it's managed by Matlab automatically.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!