How do I write an excel file?

1 回表示 (過去 30 日間)
Seba.V
Seba.V 2019 年 7 月 28 日
回答済み: Seba.V 2019 年 7 月 29 日
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!

回答 (2 件)

Walter Roberson
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()

Seba.V
Seba.V 2019 年 7 月 29 日
Thank you I didn't know that it wouldn't work on Mac.
how can I convert the data into a table?

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by