App Designer: Create drop down list from unique table values
1 次查看(过去 30 天)
显示 更早的评论
Hi everyone,
Is there a work around in App Designer to set the drop down list as unique numbers from a table?
t = readtable('example.xlsx', 'Sheet', 1);
unique_values = table2array(unique((t(:,1))))
app.DropDown.Items = unique_values;
I want to be able to select a unique numerical value from a drop down, then use that numerical value to do a calculation?
Thanks in advance for any help!
Cheers
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!