Azzera filtri
Azzera filtri

Save A Matrix Into Excel

1 visualizzazione (ultimi 30 giorni)
Salvatore Turino
Salvatore Turino il 6 Mar 2012
Hello i want to save a matlab matrix in an excel file (that i need to open with word). when i do:
xlswrite('c:\matlab\work\prova.xls', C_zi_tot)
i have this errror:
Warning: Could not start Excel server for export. XLSWRITE will attempt to write file in CSV format.
why?what kind of error am i doing? thank you

Risposta accettata

the cyclist
the cyclist il 6 Mar 2012
Are you on a Mac? If so, then note this fine print from "help xlswrite":
  • If your system does not have Excel for Windows, or if the COM server (part of the typical installation of Excel) is unavailable, xlswrite: * Writes ARRAY to a text file in comma-separated value (CSV) format. * Ignores SHEET and RANGE arguments. * Generates an error when ARRAY is a cell array.
  2 Commenti
Salvatore Turino
Salvatore Turino il 6 Mar 2012
yes mac user :( ok so there is no alternative?
the cyclist
the cyclist il 6 Mar 2012
No, not that I know.

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by