Items + Items Data issue
显示 更早的评论
I have defined:
app.select_solver_calc_properties.Items = {'Fminsearch', 'Fmincon', 'Look-up Table', 'Genetic Algorithm'};
app.select_solver_calc_properties.ItemsData = {'[1 2 3 4]'};
When I run
app.select_solver_calc_properties.Value = 3;
I get the error:
'Value' must be an element defined in the 'ItemsData' property.
EDIT: The issue is that the inspector defaults to a non-numeric type for ItemsData. I'm not sure how to fix this since I can't edit the component setup part in App Designer.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 App Building 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!