xlswrite function

3 visualizaciones (últimos 30 días)
vijay sabawat
vijay sabawat el 6 de Jun. de 2011
Comentada: Noam Handler el 20 de Feb. de 2024
??? 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 comentarios
Ken Atwell
Ken Atwell el 6 de Jun. de 2011
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 el 6 de Sept. de 2017
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

Iniciar sesión para comentar.

Respuestas (2)

Matthew Worker
Matthew Worker el 8 de Jun. de 2011
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 el 8 de Jun. de 2011
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 comentario
Noam Handler
Noam Handler el 20 de Feb. de 2024
I had a similar error.
My bug was that the name was too long.

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by