フィルターのクリア

xlsread uses ''basic mode'' on windows with excel

5 ビュー (過去 30 日間)
Kokalz
Kokalz 2012 年 7 月 12 日
回答済み: Xiaolong Jin 2018 年 2 月 7 日
Hey guys! Everytime I do:
endnumData=xlsread('data.xlsx')
I get an error,that says:
Warning: Could not start Excel server for import, 'basic' mode will be used. Refer to HELP
XLSREAD for more information.
> In xlsread at 186
Going to line 186 in the editor and changing the string value
basicMode = true;
only gives more mistakes. Any way to fix this ,so that I don't have to use basic mode all the time.
  2 件のコメント
Image Analyst
Image Analyst 2012 年 7 月 14 日
What Excel version do you have? Is it the "Starter Edition"?
Kokalz
Kokalz 2012 年 7 月 16 日
I am using Microsoft Office Standart 2010

サインインしてコメントする。

回答 (4 件)

Nirmal
Nirmal 2012 年 7 月 13 日
I think it is because you used xlsx file if you use xls you should be fine.

Kokalz
Kokalz 2012 年 7 月 16 日
I tried both .xlsx and .xls, the problem still persists. The issue seems to be with the COM server that Matlab uses for Excel. I am using 32-bit Excel and 64-bit Matlab on Windows XP 64-bit PC. The bit difference is probably not the reason as this is an exe COM server not the dll one. Could someone help me out please??? It's really important!!!

Simon Woodward
Simon Woodward 2014 年 9 月 23 日
I have the same problem. I have Matlab R2009b and Excel Professional 2010. My IT guy said it could be DLLs hanging around from old versions of Excel and confusing Office.
  1 件のコメント
Image Analyst
Image Analyst 2014 年 9 月 23 日
Tell your IT guy to uninstall any old versions of Excel. Also try to upgrade your 5 year old version of MATLAB if you can. I have MATLAB R2014a and Excel 2010 and it all works fine.

サインインしてコメントする。


Xiaolong Jin
Xiaolong Jin 2018 年 2 月 7 日
I solved this problem by changing the properties of Excel. Right click on Excel--select properties--click the 'compatibility'Tab--tick the 'run this program in compatibility mode for'-- select 'windows 7' or other options. Hope it works!

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by