MATLAB: How to read in rows from an Excel spreadsheet using iteration

xcel;iteration input;xlsread

I am working with a spreadsheet Is there a way I can read in one row at a time in a for loop? this is the code which i have filename='ht2.xls'; xlRange = 'A(i):H(i)'; mat=xlsread(filename,xlRange);
ie i want to input data from i'th row column A to H

Best Answer

filename='ht2.xls';
mat=xlsread(filename);
Then use the row you want mat(k,:)