Matlab&Excell
2 次查看(过去 30 天)
显示 更早的评论
Hello i want to save one or more matrix from matlab to excel. i've tried the command:
xlswrite('Data.xls', Hscorr)
where Hscorr is the matrix that i want to save but i've got this error:
Warning: Could not start Excel server for export. XLSWRITE will attempt to write file in CSV format.
why?
0 个评论
回答(1 个)
Fangjun Jiang
2011-11-17
xlswrite() requires the Excel COM server. It might be either you don't have MS Excel installed, or you are using a non-PC computer.
3 个评论
Fangjun Jiang
2011-11-17
Yes. save() with the -ASCII option. Or, dlmwrite(), csvwrite() or fprintf().
Walter Roberson
2011-11-17
And note that it is just a warning: like the warning says, it will write it as text as a CSV file. There are some restrictions, though: you can only write a pure numeric array doing that.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!