MATLAB: Importing data from excel

excelr2007b

Greetings,
I have been following instructions while trying to import text data in the form of hex values into matlab. I have one column of data 192 rows deep and I have been using
alpha12_data = importdata('alpha12_data.xlsx')
alpha12_data =
'PK'
alpha12_data = xlsread('alpha12_data.xlsx', 'A1:A192')
alpha12_data =
[]
neither of these two commands work. Can anyone help me by explaining why? The file alpha12_data is in current directory
Thanks

Best Answer

It seems that R2007b wasn't still able to import .xlsx files.
I found the first reference to this type only from R2009a!
The workaround
Save it as .xls with excel.