How to create Dropdown list in table in app designer?
Show older comments
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'}));
Answers (0)
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!