Hi I am having a pile of issues with the table features in matlab.
I can't figure out how to put a char array into a char variable of a table. I've been reading the table help files but Il'm missing something 🙁
x=[1;2;3];y=[4;5;6];T=table(x,y)T = 3×2 table x y _ _ 1 4 2 5 3 6>> T.words = repmat({''}, 3, 1);>> T(1,'words') = 'poop';The number of table variables in an assignment must match. >> T(1,3) = 'poop';The number of table variables in an assignment must match. >> T{1,3} = 'poop';The value on the right-hand side of the assignment has the wrong width. The assignment requires a value whose width is 1.
Best Answer