Matlab中cell类型转成str类型

在利用xlsread函数的时候,raw和txt图均为Cell类型,要进行转换为Str类型。
用char这个函数就可以了:
>> cs
cs =
\'abc\'
\'defg\'
\'hi\'
>> s = char( cs )
s =
abc
defg
hi
>> whos
Name Size Bytes Class Attributes
cs 3x1 198 cell
s 3x4 24 char