how to add new data to matlab uitable that old data and data that has been updated to appear in matlab uitable?
9 views (last 30 days)
ES on 9 Oct 2013
To append, read data from uitable using
get method, append the new data in your code, set the data again by using the
and Duplicate Question.
matlablearner on 25 Jul 2014
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.