How to create Dropdown list in table in app designer?
4 次查看(过去 30 天)
显示 更早的评论
I have been trying to create a dropdown list in a column in a table in matlab 2018a but have faced a problem. I have tried everything that i could find of but still nothing seems to work out. My code is below. I want to make the last two column categorical with the list YES and NO. can somebody help me which part did i not do right?
app.UITable.ColumeName = {'Node No';'X-Coordinates';'Y-Coordinates';'Force X';'Force Y';'Restraint in X';'Restraint in Y'}
app.UITable.ColumnFormat={'numeric','numeric','numeric','numeric','numeric','logical','logical'};
app.UITable.Data = (0,0,0,0,0,categorical({'Yes',{'Yes','No'}),categorical({'Yes',{'Yes','No'}));
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!