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