I have a cell array that contains vectors and/or matrices. I would like to write the contents of this cell array into several groups of cells on an Excel spreadsheet using a single XLSWRITE command.
For example, I create a cell array in MATLAB:
a={[1 2;3 4], [5,6,7]};
Then, I issue the following command:
xlswrite('xlsexample.xls',a);
The file 'xlsexample.xls' is created, but contains no data.
Best Answer