MATLAB: Adding to a cell array

concatentating cell arrays

If I have a cell array of numbers, is it possible to append to this another cell array that consists of text. The text cell array is only 1 column and I simply want to append this column to the leftmost side of the number cell array.
Thanks

Best Answer

Sure.
[TextCellArray(:), NumericCellArray]
For example,
t = {'hello','Jason'};
n = {1, 2, 3; 4, 5, 6};
[t(:),n]
The result will be
'hello' [1] [2] [3]
'Jason' [4] [5] [6]