Add rows in uitable
1 回表示 (過去 30 日間)
古いコメントを表示
Hi,
The GUI I wrote generate the cData for every time I click a pushbutton.
cData = {complete; AInfo; BInfo; CInfo; DInfo};
set(handles.infoTable, 'data', cData);
Unfortunately, every time it is overwritten the row data. Therefore, how can I write the new cData in new rows?
Thanks
0 件のコメント
採用された回答
Azzi Abdelmalek
2013 年 2 月 6 日
cData = {complete; AInfo; BInfo; CInfo; DInfo};
old_data=get(handles.infoTable,'data');
new_data=[old_data;cData]
set(handles.infoTable, 'data',new_data);
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!