MATLAB Answers

Indra
0

xlswrite in office 365

Asked by Indra
on 20 Sep 2018
Latest activity Answered by Zenin Easa Panthakkalakath on 24 Sep 2018
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 Comments

Sign in to comment.

Products


Release

R2017a

1 Answer


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 Comments

Sign in to comment.