matlab是不支持cell类型的,你可以把cell转化成数组
在写入excel Unsupported MATLAB Types You cannot pass the
following MATLAB types to .NET methods: * Structure arrays * Cell
arrays * Sparse arrays * Complex numbers。
具体方法:
1、先将cell数据转化为数组
方法a:
c={'0.000E+000'
'1.007E+000'
'8.750E-012'
'1.007E+000'
'1.750E-011'
'1.008E+000'
'3.500E-011'
'1.015E+000'
'4.000E-011'
'1.020E+000'
'4.500E-011'
'1.026E+000'
'4.750E-011'
'1.030E+000'}
c1=cellfun(@subs,c)
方法b:
a=zeros(7,2);
c=cell(7,2);
c{1,1}='0.000E+000';
c{1,2}='1.070E+000';
c