Can you write to an Excel file from Matlab Online using xlswrite?

조회 수: 7 (최근 30일)
Austin Brehm
Austin Brehm 2018년 7월 25일
답변: Walter Roberson 2018년 7월 25일
Is this possible?

답변 (2개)

Fangjun Jiang
Fangjun Jiang 2018년 7월 25일
I just tried it. It created an .csv file.
>> xlswrite('book1',magic(5))
Warning: Could not start Excel server for export.
XLSWRITE will attempt to write file in CSV format.

Walter Roberson
Walter Roberson 2018년 7월 25일
No. MATLAB Online uses Linux, which is restricted to 'basic' for xlswrite(), and 'basic' ignores the file extension and writes a csv file instead.
You should use writetable() instead.

커뮤니티

더 많은 답변 보기:  원격 교육 커뮤니티

카테고리

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