I would like to export some text data to Excel and tried using the MATLAB xlswrite function. This works except for one thing:
I need to have Excel cells extending over several lines with line breaks defined by me. Something like this:
--------------------------------------------------------------
Number | Contents 1 | bla |
| Contents 2 | |
--------------------------------------------------------------
Is there a way to do so?
Thanks
Jette
If you mean that you need multiple lines in a single Excell cell, then you should add the Newline character = char(10) into your cell text: ['Contents 1' char(10) 'Contents 2'].
Yair Altman
http://UndocumentedMatlab.com