Save A Matrix Into Excel

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

 採用された回答

the cyclist
the cyclist 2012 年 3 月 6 日

1 投票

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 件のコメント

Salvatore Turino
Salvatore Turino 2012 年 3 月 6 日
yes mac user :( ok so there is no alternative?
the cyclist
the cyclist 2012 年 3 月 6 日
No, not that I know.

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by