Usage: |
z=readxls(filename{,rrow,rcol})
|
Input: |
| filename | string, name of the file
|
| rrow | (optional) p1 x 2 matrix (if you enter a scalar, it will be ignored); specifies, which rows should be
read. Every row consists of two numbers, r1 and r2:
1) if both numbers are positive, they specify that rows with indices {r1,...,r2} should be read in;
2) if both number are negative, they specify that rows with indices {|r1|,...,|r2|} should be excluded
from reading;
3) it is not possible to mix inclusion and exclusion conditions.
If the parameter is omitted or is a scalar, all rows are read.
|
| rcol | (optional) p2 x 2 matrix (if you enter a scalar, it will be ignored); specifies, which columns should be
read. Every column consists of two numbers, r1 and r2:
1) if both numbers are positive, they specify that columns with indices {r1,...,r2} should be read in;
2) if both number are negative, they specify that columns with indices {|r1|,...,|r2|} should be excluded
from reading;
3) it is not possible to mix inclusion and exclusion conditions.
If the parameter is omitted or is a scalar, all columns are read.
|
Output: |
| z | matrix, contains the numerical elements of the first sheet of the MS Excel file |