From: Sunil on
Hello!

I have been using xlsread to read from .xlsx files.

Now suddenly my code is giving the following error. It looks like error from the COM.

??? Invoke Error, Dispatch Exception:
Source: Microsoft Office Excel
Description: Open method of Workbooks class failed
Help File: C:\Program Files\Microsoft Office\Office12\1033\XLMAIN11.CHM
Help Context ID: 0

Error in ==> xlsread at 250
ExcelWorkbook = Excel.workbooks.Open(file,0,true);

I have restated MATLAB and Windows to no avail. I couldn't find any past threads covering this topic. I hope someone suggests me the solution as i really do not want to reinstall MATLAB and Excel.