The following code produces a concatenation error for the multi-dimensional case:
[{'foo'} 2][{'foo'} 1; 1 2]
This results in the following error:
??? Error using ==> vertcat CAT arguments dimensions are not consistent.
MATLAB
[{'foo'} 2][{'foo'} 1; 1 2]
??? Error using ==> vertcat CAT arguments dimensions are not consistent.
Best Answer