Can you write to an Excel file from Matlab Online using xlswrite?
5 次查看(过去 30 天)
显示 更早的评论
回答(2 个)
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.
0 个评论
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.
0 个评论
社区
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!