Is it possible to read the full contents of .xls files into an array, without having to name the range of cells being read (similar to how csvread can read .csv files to an array)?
We wrote a script that reads spreadsheets containing on-site weather measurements (irradiance, temperature, wind speed), and runs a simulation based on them. However, the on-site weather measurements are in .xls form, and can have a varying number of rows depending on the timeframe chosen for analysis and the measurement interval (there is one row of data per timestamp). Since we couldn't find a way to read the data directly from .xls files, we're currently opening the .xls weather measurements manually in Excel, saving as a .csv, and then running the script using csvread.
Is there a more automated way to do this- can the script read all of the data into arrays directly from the .xls file (without having to manually assign a name in Excel to the range of cells being read), or else can it automatically convert an .xls file to a .csv file?