- #1
mikeph
- 1,235
- 18
MATLAB "xlsread" function
Hello
I am trying to import some data from an Excel spreadsheet, however the range is a variable in my code. For example, I have "t" and "b" as numbers which specify the top and bottom rows of the data I need.
For example I need:
A = xlsread('test.xls','A3:A10');
however I need to to import, in general, A"t" to A"b", where t and b are the row numbers.
The Excel file is very large (>10^5 rows) so I would very much like to avoid importing the entire spreadsheet and then filtering it MATLAB.
Thanks for any help,
Mike
Hello
I am trying to import some data from an Excel spreadsheet, however the range is a variable in my code. For example, I have "t" and "b" as numbers which specify the top and bottom rows of the data I need.
For example I need:
A = xlsread('test.xls','A3:A10');
however I need to to import, in general, A"t" to A"b", where t and b are the row numbers.
The Excel file is very large (>10^5 rows) so I would very much like to avoid importing the entire spreadsheet and then filtering it MATLAB.
Thanks for any help,
Mike