MATLAB: Can xlsread be used without MS Office

excelMATLAB Compilerofficestandalonexlsread

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!

Best 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.