xlswrite function

조회 수: 3 (최근 30일)
vijay sabawat
vijay sabawat 2011년 6월 6일
댓글: Noam Handler 2024년 2월 20일
??? Error using ==> xlswrite at 213 Invoke Error, Dispatch Exception: Source: Microsoft Excel Description: SaveAs method of Workbook class failed Help File: xlmain11.chm Help Context ID: 0
The above error message is what im receiving when im trying to use xls write function.
Can anyone help me in solving this
  댓글 수: 4
Ken Atwell
Ken Atwell 2011년 6월 6일
Can you also tell us:
1. Version of MATLAB, and whether its 32-bit or 64-bit
2. Version of Office, and whether (in the case of 2010) its 64-bit
3. Version of Windows (XP, Vista, 7), and whether it is 32-bit or 64-bit
Karla Rodríguez
Karla Rodríguez 2017년 9월 6일
You should put the path where you want to write the Excel file, something like that: xlswrite('C:\Users\KARLI\Desktop\karla.xls', a); Usually Works in Desktop

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

답변 (2개)

Matthew Worker
Matthew Worker 2011년 6월 8일
Does the name have a "/" in it or other special chars? I can generate the same error you get if I try that.

vijay sabawat
vijay sabawat 2011년 6월 8일
I found the bug..
The bug was in my code i was changing the file path. I mean asking it to save the file in a nonexistent location. Thanks for the answers though.
  댓글 수: 1
Noam Handler
Noam Handler 2024년 2월 20일
I had a similar error.
My bug was that the name was too long.

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

카테고리

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