MATLAB: Undefined function ‘cell2str’ for input arguments of type ‘cell’.

cell arrays

str = {'this' 'is' 'a' 'test' 'of' 'cell' '2' 'str'};
str=cell2str(str)
Undefined function 'cell2str' for input arguments of type 'cell'
%I got this error.
%How can I transform any character of cell to strings?

Best Answer

There is no command cell2str in core MATLAB.