MATLAB: Reading from an Excel File using MATLAB

MATLABread data

Can I read .xlsx files using MATLAB?

Best Answer

Hi,
on windows 100% yes using xlsread. In Linux/MAC you need 12a and newer in order to be able to read in xlsx format with the xlsread command.
Cite from the 12a Release Notes:
"xlsread Reads XLSX Files on All PlatformsThe xlsread function now reads data from XLSX files on all platforms, including support for specifying the range and worksheet number. Previously, this functionality was available only on Microsoft Windows systems with Excel software."