MATLAB: Getting warning: Could not start Excel server for export. XLSWRITE will attempt to write file in CSV format.

excelxlswrite

XLSWRITE does not write the Excel file or a CSV file. I'm using a program that I know works on another computer, but to simplify testing I've tried running the following from the command line: xlswrite('testdata.xls', [1 2 3]). I get the same warning and nothing is written.
I am running Matlab R2012a, Excel 2007, Windows 7. Matlab and Excel are installed locally.
I have looked for the answer from other threads, but could not find a solution. Any help would be appreciated.

Best Answer

If you are using a 64 bit MATLAB but the excel is 32 bit then you would not be able to communicate with it.
Meanwhile try xlwrite from the file exchange
Related Question