How do I write an excel file?
1 view (last 30 days)
Show older comments
I am trying to write the folowing excel file but get this error message and I don't know why.
See attached screen shot.
Thank you in advance for your help!
0 Comments
Answers (2)
Walter Roberson
on 28 Jul 2019
You are using Mac or Linux. xlswrite() on Mac and Linux can only write pure numeric data.
You should follow the suggestion in the image: convert your data to table and writetable()
If you have R2019a or later then you have additional options such as writecell()
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!