Importing data from excel
Show older comments
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
Accepted Answer
More Answers (1)
Walter Roberson
on 10 Aug 2012
Edited: Walter Roberson
on 10 Aug 2012
0 votes
.xslx files were not supported on non-Windows systems (or Windows systems that did not have Excel installed) until R2011b or so. I do not recall at the moment when support for .xlsx files was first introduced -- it is going to depend in part on your Excel version.
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!