Question about error triggered by 'xlsread'

1 view (last 30 days)
Frank Lau
Frank Lau on 6 Aug 2012
Dear all,
I have a question about 'xlsread' which is about reading excel files into MATLAB.
Recently, my boss changed the OS to Win7, and installed Office 2010 with MATLAB 2010a. However, 'xlsread' posed error message as below
??? Error: Object returned error code: 0x800AC472
Error in ==> xlsread at 241
Excel.DisplayAlerts = 0;
Previously, when the OS is Winxp with Office 2007, there was no problem in using 'xlsread'. Sometimes, there is no error message when exeucuting 'xlsread'. But in order to avoid the error message, what should I do?
I had referred to some post which suggest converting excel into csv and use csvread, but I do not want to use it as csvread cannot read the first line of string.
Thanks for your kind attention.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!