필터 지우기
필터 지우기

Error code 0x800A03EC when using xlswrite

조회 수: 1 (최근 30일)
Jenny
Jenny 2014년 2월 7일
댓글: chetan sharma 2015년 12월 11일
I am trying to write out some data using xlswrite and get the error message:
Error using xlswrite (line 220) Excel returned: Error: Object returned error code: 0x800A03EC.
What is this error and how do I correct for it?
The data that I am using is attached.

채택된 답변

Friedrich
Friedrich 2014년 2월 7일
편집: Friedrich 2014년 2월 7일
Hi,
its all about the extension. Don't use .xls extension because its inherits the row limitations of Excel 2003 which is around 65k (but you have over 90k of rows). See here for more information. So please use
xlswrite('Namsos_01_WindSpeedDirec_2001_2013.xlsx',[Hdr; num2cell(WindQCMat)]);
and it should work fine (This requieres Excel 2007 or newer).
  댓글 수: 4
daniel
daniel 2015년 11월 4일
Well what about if I want a csv instead. It gives me the same error. I dont want to use xlsx becayse there is a significant size difference and my application. What can I do?
chetan sharma
chetan sharma 2015년 12월 11일
Thanks... I was using only xlswrite('Data',D) which gave error. xlswrite('Data.xlsx',D) is perfect...

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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