I am still trying to update the row names of a uitable in a matlab gui. I previously asked you about this (https://stackoverflow.com/questions/21585453/update-rows-name-of-uitable-in-matlab-gui). However, I am writing you again in order to let you know that I am not able to solve this problem.
This is the part of my code where I am stuck:
function SavePushButton_Callback(~,~)
%%##
data{1,1}= get(h5Out,'string');
data{1,2}= get(h6Out,'string');
data{1,3}= get(h7Out,'string');
data{1,4}= get(h8Out,'string');
===============================
% Update the data %
oldData = get(t,'Data');
newRow = cat(0,data,cell(0,size(data,2)));
newData2 = [oldData; newRow];
set(t,'Data',newData2);
===============================
% this part of the code should Update the name of the rows %
rowname = get(h1Out,'string');
NewRowName = cat(0,rowname,cell(0,size(rowname,1)));
rowname2= [rowname; NewRowName];
set(t,'Rowname',rowname2);
end