Info
此问题已关闭。 请重新打开它进行编辑或回答。
How to save data in excel as one sheet?
1 次查看(过去 30 天)
显示 更早的评论
Hello, I save my data in sheet by sheet and every sheet has three data set. I want to save all data in one sheet. How can I do that? This is my code.
if saveLS==1
sizeA=size(A);
save_name=[save_path,materail,'_',f,'LS','.xls'];
for w=1:sizeH2(2)
d={'A','B','C'};
xlswrite(save_name,d,w,'A1')
xlswrite(save_name,A(:,w),w, 'A2');
xlswrite(save_name,B(:,w),w, 'B2');
xlswrite(save_name,C(:,w),w, 'C2');
end
end
0 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!