MATLAB: Passing information between arrays

arrayexportnesting

name3d = [1x31 char] [1x31 char] [1x31 char]
ct = 1
for i = 1:length(name3d)
tableName{ct} = name3d(i)
ct = ct + 1;
end
This code results in:
tableName = {1x1 cell} {1x1 cell} {1x1 cell}
What I want is:
tableName = [1x31 char] [1x31 char] [1x31 char]
The intent here is to take an array of strings and append them onto an existing array without nesting. The nesting is making it impossible for me to export . . .

Best Answer

tableName (ct) = name3d(i)
Use () instead of {}. This adds each instance on one at a time rather than as one array nested inside the other.
Solved.