Hello,
I have encountered this problem in one of my codes (reproduced here with simple data) :
vect = [1 2 4 3]; % creating a vector
mat = [vect;vect]; % juste a simple matrix
% initialising a table
varnames = {'SomeTableCellData'};vartypes = {'cell'};Table = table('Size',[0 length(varnames)],'VariableTypes',vartypes,'VariableNames',varnames);% this works
Table(1,'SomeTableCellData') = {mat};% this doesn't work
Table(2,'SomeTableCellData') = {vect};
But both {mat} and {vect} are cell arrays containing double, so I'm a bit lost as why this happens.
Thanks for your help.
Best Answer