b***@hotmail.com

2017-11-07 03:15:49 UTC

Permalink

I am trying to write a cell (called FORM) that is a 1x5 cell, that contains string and numerical values. Within the FORM cell it looks like:Raw Message

'Form Name' 1x10 double 1x10 double 1x10 double 1x10 double

I tried the following:

xlswrite('filename.xls', FORM)%

This did not work...I cannot write the FORM cell to Excel using xlswrite.

I removed the string, 'Form Name' (which leaves me with a 1x4 cell of numerical values), and was able to write the numerical values to Excel using:

xlswrite('filename.xls',FORM)% this works when I remove the first column of string data, leaving the other 4 cells showing as 1x10 double 1x10 double 1x10 double 1x10 double

I have seen there may be ways to use fprintf, but I would rather simply use xlswrite, if possible.

Please help!