필터 지우기
필터 지우기

save variables of different dimension in the same excel file

조회 수: 2 (최근 30일)
antonet
antonet 2012년 7월 6일
Hi,
I want to save in the same excel file variables of different dimension that I create. Foe example say that a variable A is of dimension 1000 by 45 And a variable B is of dimension 40 by 1
I can not use
m = [A B ];
xlswrite('sugar.xlsx',m);
I want to save both A and B in the same excel file
thanks

채택된 답변

F.
F. 2012년 7월 6일
xlswrite(filename,A,sheet,range)
so did you try this ?
xlswrite('sugar.xlsx',A, 'Sheet01', 'A1');
xlswrite('sugar.xlsx',B, 'Sheet01', 'A50');
I let you define ranges with your data ;-)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by