当我运行以下代码时
function feff
filename = 'UHL DEA.xlsx';
FI = xlsread(filename,'AU9:AU179');
FO = xlsread(filename,'AW9:AW179');
FEff = FI./FO;
%Write the efficiency back to the appropriate file in excel
xlswrite(filename,FEff,'BC9:BC179');
我得到错误
Error using xlswrite (line 220)
Excel returned: Error: Object returned error code: 0x800A03EC.
Error in feff (line 15)
xlswrite(filename,FEff,'BC9:BC179');
但是如果我按如下方式写入另一个文件,它工作正常
function feff
filename = 'UHL DEA.xlsx';
FI = xlsread(filename,'AU9:AU179');
FO = xlsread(filename,'AW9:AW179');
FEff = FI./FO;
%Write the efficiency back to the appropriate file in excel
xlswrite('DEA.xlsx',FEff,'BC9:BC179');
UHL DEA.xlsx 包含前面列中的其他数据,我需要在同一个文件中再次写入这些数据。指针将不胜感激。谢谢