How to modiffy a GUI (adding menus) during runtime?

2 vues (au cours des 30 derniers jours)
Lars-Erik Lindgren
Lars-Erik Lindgren le 3 Jan 2013
We have developed a main m-code (platform) with model specific parts in a separate m-file. I want to add menus to the GUI of the platform after selecting the model specific m-file.
Thus I was thinkin that the model m-file will return text strings to the platform that is then used to add additional menus into its GUI.
Is this possible at all within Matlab? or Do I need to open a new, separate GUI where this menus are given?
Lars-Erik

Réponse acceptée

Jan
Jan le 3 Jan 2013
The command uimenu allows to add menus to an existing and active GUI. You can get the handle of a specific menu element also and modify its properties by the set command.

Plus de réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps 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!

Translated by