Can xlsread be used without MS Office?

Hi,
I have created a standalone application which uses '_xlsread' _to read excel data.
I would like to know if I can run this application on a PC which does not have MS office installed.
Thanks!

 Accepted Answer

'_xlsread_' can be used in a compiled application without MS office.

But it will read excel file in 'BASIC' mode.

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.

More Answers (0)

Products

Release

R2016a

Community Treasure Hunt

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

Start Hunting!