Undefined function 'cell2str' for input arguments of type 'cell'.
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
sermet
el 18 de Nov. de 2013
Comentada: Walter Roberson
el 25 de Dic. de 2018
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?
0 comentarios
Respuesta aceptada
Más respuestas (2)
Pascal Boulos
el 19 de Oct. de 2018
>> join(str)
ans =
string
"this is a test of cell 2 str"
>> strjoin(str)
ans =
'this is a test of cell 2 str'
1 comentario
Ver también
Categorías
Más información sobre Cell Arrays en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!