how to add new data to matlab uitable that old data and data that has been updated to appear in matlab uitable?
7 ビュー (過去 30 日間)
古いコメントを表示
Hi,
how to add new data to matlab uitable that old data and data that has been updated to appear in matlab uitable?
Thanks a lot
Best regards.
0 件のコメント
回答 (2 件)
ES
2013 年 10 月 9 日
To append, read data from uitable using
get method, append the new data in your code, set the data again by using the
set method.
and Duplicate Question.
0 件のコメント
matlablearner
2014 年 7 月 25 日
Hi,
Before you set the Data of the uitable, get the previous data and concatenate it with the new data
existingData = get(handles.uitable,'Data'); % Get the existing data
newData = [existingData; newdata]; % Append the data
set(handles.uitable,'Data',newData); % Set the appended data to the table.
Hope it helps.
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!