How to get Handle of an list's element selected in AppDesigner?

4 visualizzazioni (ultimi 30 giorni)
Dear Matlab community,
In GUIDE it was easy to get the string and value of a element selected in e.g. a ListBox. In AppDesigner however I am only able to get the string. I can only indirecly get the value using strcmp.
In GUIDE:
function listbox1_Callback(hObject, eventdata, handles)
index_selected = get(hObject,'Value');
How to get the value of the ListBox in AppDesigner??
Regards, Wim

Risposta accettata

Matt J
Matt J il 25 Nov 2017
app.listbox1.Value
  4 Commenti
Matt J
Matt J il 6 Dic 2017
You're welcome, but please click "Accept" if you got the info you needed.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by