What are the limitations of XLSREAD when run in 'basic' mode?

9 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2010 年 5 月 6 日
編集済み: MathWorks Support Team 2022 年 10 月 14 日
I am unable to invoke Microsoft Excel as an automation server. As a result, I must use XLSREAD in 'basic' mode. I would like to know the limitations of XLSREAD when running in 'basic' mode.

採用された回答

MathWorks Support Team
MathWorks Support Team 2022 年 10 月 14 日
編集済み: MathWorks Support Team 2022 年 10 月 14 日
On Windows systems with Microsoft Excel software, "xlsread" reads any file format recognized by your version of Excel.
If your system does not have Excel for Windows, "xlsread" operates in "basic" import mode.
Flag to request reading in 'basic' mode, specified as the literal string, 'basic'
'basic' mode is the default for systems without Excel for Windows. In 'basic' mode, "xlsread"
  • Reads XLS, XLSX, XLSM, XLTX, and XLTM files only.
  • Does not support an 'xlRange' input when reading XLS files. In this case, use '' in place of 'xlRange'.
  • Does not support function handle inputs.
  • Imports all dates as Excel serial date numbers. Excel serial date numbers use a different reference date than MATLAB date numbers
The appropriate syntax for using "xlsread" in 'basic' mode may be found in the following documentation page:
You may access the same page locally by typing the following at the MATLAB prompt:
web(fullfile(docroot, 'matlab/ref/xlsread.html'))

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2014a

Community Treasure Hunt

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

Start Hunting!

Translated by