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

2 Ansichten (letzte 30 Tage)
Lars-Erik Lindgren
Lars-Erik Lindgren am 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

Akzeptierte Antwort

Jan
Jan am 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.

Weitere Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by