Popup Menu problem in accessing the string
Ältere Kommentare anzeigen
I am using a popup menu that is populated with numbers 0-3 but when I access the numbers it returns the value instead of the string. Any one can help me in this regard.
Imran
1 Kommentar
Antworten (1)
I guess some details, perhaps it helps:
Value = get(popupMenuHandle, 'Value');
String = get(popupMenuHandle, 'String');
Selected = String{Value};
1 Kommentar
Imran Babar
am 13 Jun. 2013
Kategorien
Mehr zu Simulink Environment Customization finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!