Can you write to an Excel file from Matlab Online using xlswrite?
5 views (last 30 days)
Show older comments
Is this possible?
0 Comments
Answers (2)
Fangjun Jiang
on 25 Jul 2018
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 Comments
Walter Roberson
on 25 Jul 2018
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 Comments
Communities
More Answers in the Distance Learning Community
See Also
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!