필터 지우기
필터 지우기

How to split output in Matlab and save it in two different excel files?

조회 수: 1 (최근 30일)
Moe
Moe 2014년 11월 8일
답변: Star Strider 2014년 11월 8일
Is there any way that we can split output and save it two different excel files or even two different sheets in a excel file?
A = [1;2;3;4;5;6;7;8;9;10]; % for example row 1 to 5 in one file (or in first sheet) and row 6 to 10 in another file (or in second sheet)
xlswrite('test.xlsx',A,1); % xlswrite('test.xlsx',A,sheet,range)

답변 (1개)

Star Strider
Star Strider 2014년 11월 8일
I haven’t done that, but according to the documentation it should be possible. I would use a loop with different arguments to do the individual writes.

카테고리

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