Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Ho to reduce the table to 1dim?
3 ビュー (過去 30 日間)
古いコメントを表示
I use the GUIDE option and placed a table.
The table size is 4×6.
I want to have it 1×6 -> I tried to delete the extra rows with no success. It keep on returning them when I press Apply/OK
回答 (1 件)
Sean de Wolski
2013 年 2 月 13 日
A uitable's size is determined by the size of its 'Data' property. So change that:
h = uitable('Data',rand(4,6));
%%To Reduce it:
set(h,'Data',1:6)
7 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!