xlswrite in office 365
조회 수: 3 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (1개)
Zenin Easa Panthakkalakath
2018년 9월 24일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!