writetable writes the table to a file, but not matrices of type double. So try to convert the matrix to a table at first.
Please post the code for writing the Excel file.
If your computer does not have Excel for Windows®, or if the COM server
(part of the typical installation of Excel) is unavailable, then the xlswrite
function:
* Writes array A to a text file in comma-separated value (CSV) format. A must be a numeric matrix.
* Ignores the sheet and xlRange arguments.
A general hint: The documentation of Matlab is very useful. If you have problems with a specific command, reading the corresponding docs is a better help than in any other software I've used.
Best Answer