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 CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by