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.