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

6 vues (au cours des 30 derniers jours)
Austin Brehm
Austin Brehm le 25 Juil 2018
Is this possible?

Réponses (2)

Fangjun Jiang
Fangjun Jiang le 25 Juil 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.

Walter Roberson
Walter Roberson le 25 Juil 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.

Communautés

Plus de réponses dans  Distance Learning Community

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by