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

2 visualizaciones (últimos 30 días)
Lars-Erik Lindgren
Lars-Erik Lindgren el 3 de En. de 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

Respuesta aceptada

Jan
Jan el 3 de En. de 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.

Más respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by