Info
This question is closed. Reopen it to edit or answer.
How to save data in excel as one sheet?
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!