Write cell (contains numbers and strings) to xls
2 views (last 30 days)
Show older comments
Hi,
I have the following 2 cell array.
SubName - contains string
Movement - contains numbers.
i combine them using this,
combine = [Subname,Movement];
combine is also a cell array.
i Write it to xls, using this:
xlswrite('test.xls',combine);
the error show: The input cell array cannot be converted to a matrix.
Anyone know what I can do to write my cell combine (contains string and numbers) to xls?
0 Comments
Answers (1)
Walter Roberson
on 18 Jun 2012
Which OS are you using, and if you are using Windows then do you have Excel installed? Which MATLAB version are you using?
If you are not using R2012a, and are not using MS Windows with Excel installed, then you can only write numeric data if I recall correctly.
0 Comments
See Also
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!