caizhao
在利用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

分类:

技术点:

相关文章:

  • 2021-12-10
  • 2021-08-04
  • 2022-12-23
  • 2021-12-26
  • 2021-12-10
  • 2022-01-20
猜你喜欢
  • 2021-05-24
  • 2021-11-29
  • 2022-01-05
  • 2021-08-08
  • 2022-01-02
  • 2021-12-10
相关资源
相似解决方案