Undefined function 'cell2str' for input arguments of type 'cell'.
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
sermet
am 18 Nov. 2013
Kommentiert: Walter Roberson
am 25 Dez. 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 Kommentare
Akzeptierte Antwort
Weitere Antworten (2)
Pascal Boulos
am 19 Okt. 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 Kommentar
Siehe auch
Kategorien
Mehr zu Characters and Strings finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!