필터 지우기
필터 지우기

XLSWRITE Error: The server threw and exception

조회 수: 2 (최근 30일)
Allen Keel
Allen Keel 2011년 5월 5일
댓글: Li Duo 2018년 3월 27일
When I try to use the xlswrite function to export a matrix to Excel, I get the following error:
??? Error using ==> xlswrite at 211 Error: The server threw an exception
I've tried deactivating all add-ins in Excel
  댓글 수: 1
Jason Ross
Jason Ross 2011년 5월 5일
Can you get the actual error message?

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

답변 (2개)

Leah
Leah 2011년 5월 5일
how big is your matrix?
  댓글 수: 2
Eric
Eric 2011년 5월 5일
I tried writing out a column vector of length 2*1048576 to Excel 2010 (twice the maximum number of rows in Excel) and got a different error message. That gave
??? Error using ==> xlswrite at 213
Excel returned: Error: Object returned error code: 0x800A03EC.
Oleg Komarov
Oleg Komarov 2011년 5월 5일
Still wondering why did you get that error?

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


XM Liu
XM Liu 2016년 11월 17일
1- open the excel> file, >option, >add in, manage then select COM ADD IN, and clear everything (unchecked). everything should be cleared (unchecked). 2- restart the PC, and open the matlab. 3- perform xlsread command.
PS. For those people who use foxit pdf reader, it is potential to face this problem, so follow mentioned order.

카테고리

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