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

조회 수: 2 (최근 30일)
Lars-Erik Lindgren
Lars-Erik Lindgren 2013년 1월 3일
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

채택된 답변

Jan
Jan 2013년 1월 3일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by