Clear Filters
Clear Filters

Save A Matrix Into Excel

1 view (last 30 days)
Salvatore Turino
Salvatore Turino on 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

Accepted Answer

the cyclist
the cyclist on 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 Comments
Salvatore Turino
Salvatore Turino on 6 Mar 2012
yes mac user :( ok so there is no alternative?
the cyclist
the cyclist on 6 Mar 2012
No, not that I know.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!