Filter löschen
Filter löschen

how can i add a new drop down menu from an old one

1 Ansicht (letzte 30 Tage)
aya
aya am 11 Jul. 2014
Bearbeitet: aya am 12 Jul. 2014
I am building a GUI in matlab with multiple drop down menu and text boxes what I want to do is when I choose a specific value that I defined a new drop down menu will be created or made visible

Akzeptierte Antwort

Image Analyst
Image Analyst am 11 Jul. 2014
In the callback for the drop down menu (are you using what the Mathworks badly calls a "popup"?), call uicontrol to create new menu items or controls, or call set() to turn the 'Visible' property of the control to 'on' or 'off'
set(handles.pushbutton1, 'Visible', 'off'); % Hide push button
  1 Kommentar
aya
aya am 11 Jul. 2014
Bearbeitet: aya am 12 Jul. 2014
thank you very much your answer is very helpfull

Melden Sie sich an, um zu kommentieren.

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