Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How to save data in excel as one sheet?

1 vue (au cours des 30 derniers jours)
Hein zaw
Hein zaw le 24 Déc 2019
Clôturé : MATLAB Answer Bot le 20 Août 2021
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

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by