filename = 'testdata.xlsx';
sheet1=1;
sheet2=2;
A = [12.7 5.02 -98 63.9 0 -.2 56];
B = [2.8 6.02 -98 63.9 0 -.2 56];
xlswrite(filename,A,sheet1);%结果写入sheet1中
xlswrite(filename,B,sheet2);%结果写入sheet2中
将计算结果写入Excel相应的扉页中
猜你喜欢
转载自blog.csdn.net/weixin_41639107/article/details/102923763
今日推荐
周排行