How do I write an excel file?
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(2 个)
Walter Roberson
2019-7-28
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!