uitable in m-file
3 次查看(过去 30 天)
显示 更早的评论
There is a code:
cnames = {'A','B'}; rnames = {'1'}; columneditable = [true, true]; columnformat = {'char'};
t = uitable('ColumnName',cnames, 'RowName',rnames,'Position',[334 290 205 58], 'ColumnEditable',columneditable,'ColumnFormat',columnformat);
The problem, when i want to write something to cell, it gives an error, that cell is not editable. What is wrong here?
0 个评论
采纳的回答
Andrew Newell
2011-4-12
When I try this, I get a link saying "Please click here for more information." Clicking on it, I get "When you create a table, you must specify value of Data. The Data property dictates what type of data can exist in any given cell."
2 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!