I’m trying to read data from a xls file using
[a,b,c]=xlsread('list.xls', 1, 'A1:C5')
but as the result I get all a, b and c empty, even though there is data in the list.xls spreadsheet at the specified range. What might be the problem?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From http://www.mathworks.com/help/matlab/ref/xlsread.html:
[num,txt,raw] = xlsread(___)If you are only interested in data (
numbers), you may typeIf you have headers on the first row, call
num: array containing data;txt: cell containing headers;raw: cell containing headers and data.I hope this helps