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

4 次查看(过去 30 天)
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

采纳的回答

Matt J
Matt J 2017-11-25
app.listbox1.Value
  4 个评论
Matt J
Matt J 2017-12-6
You're welcome, but please click "Accept" if you got the info you needed.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by