exporting data to excel using xlswrite

3 ビュー (過去 30 日間)
Chris O'Donnell
Chris O'Donnell 2018 年 2 月 1 日
回答済み: ES 2018 年 2 月 1 日
Hi, I am trying to write some data to excel of the form:
variable1 1x100 double
variable2 100x10 char
Im trying:
xlswrite('file.xlsx', var1, A5)
xlswrite('file.xlsx', var2, B5)
I'm not having any joy. Something obviously I dont understand! I would appreciate any help to get me on the right track.
Thanks

回答 (1 件)

ES
ES 2018 年 2 月 1 日
What is your error message?
Are you doing
xlswrite('file.xlsx', var1, 'A5')%Note the single quote around A5
xlswrite('file.xlsx', var2, 'B5')%Note the single quote around B5

カテゴリ

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