xlswrite in office 365
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I am using matlab 2017a and office 365. matlab gives this error when i run a m.file.
Error using xlswrite (line 226) Invoke Error, Dispatch Exception: Source: Microsoft Excel Description: Document not saved. Help File: xlmain11.chm Help Context ID: 0
Error in Func_Out_Excel (line 377) xlswrite(FileName, gg22, SheetName, 'AB49');
I check excel com addins and i have these inactive com addins. Can anyone help to solve the issue? Before same code was working fine, after updating to office 365 it's not working. I checked, My office is upto date too and all excel file is closed during the running the code.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/196295/image.png)
0 comentarios
Respuestas (1)
Zenin Easa Panthakkalakath
el 24 de Sept. de 2018
Check you have enough privileges in the directory you are currently in. Check if you have permission isn't limited to 'Read Only'.
If the above doesn't solve your issue, can you try saving it with a new name? If that works, then just try to remove the original file and rename the new file with the original file's name.
0 comentarios
Ver también
Categorías
Más información sobre Spreadsheets en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!