Hi,
I have a strange problem, I did a uitable and concatenate the rows but it displays the data from row 5. Can someone tell me why? and how to display the data from row 1?
Thanks
[EDITED, copied from Answers section]
Hi,
Yes, it is with GUIDE.
The code is:
cData = {AInfo, BInfo, CInfo, DInfo, EInfo}; old_data=get(handles.infoTable,'data') new_data=[old_data;cData] set(handles.infoTable, 'data',new_data);
The output is:
old_data = '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' ''new_data = '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' [1x116 char] [0.9764] [0.3566] [0.1619] [0.5874]
Any idea why the old_data is giving 4 empty rows?
Thx.
Best Answer