Matlab&Excell
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello i want to save one or more matrix from matlab to excel. i've tried the command:
xlswrite('Data.xls', Hscorr)
where Hscorr is the matrix that i want to save but i've got this error:
Warning: Could not start Excel server for export. XLSWRITE will attempt to write file in CSV format.
why?
댓글 수: 0
답변 (1개)
Fangjun Jiang
2011년 11월 17일
xlswrite() requires the Excel COM server. It might be either you don't have MS Excel installed, or you are using a non-PC computer.
댓글 수: 3
Fangjun Jiang
2011년 11월 17일
Yes. save() with the -ASCII option. Or, dlmwrite(), csvwrite() or fprintf().
Walter Roberson
2011년 11월 17일
And note that it is just a warning: like the warning says, it will write it as text as a CSV file. There are some restrictions, though: you can only write a pure numeric array doing that.
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!