Documentation of dlmread

John W. Eaton jwe at octave.org
Tue Feb 17 00:25:09 CST 2009


On  4-Feb-2009, Stefan Pofahl wrote:

| Bug report for Octave 3.0.3 configured for i686-pc-msdosmsvc
| 
| Description:
| -----------
| 
|     The recent documentation of "Range"
|     (third argument of function dlmread) is:
|       The RANGE parameter must be a 4 element vector containing  the
|       upper left and lower right corner `[R0,C0,R1,C1]' or a
|       spreadsheet style range such as 'A2..Q15'. The lowest index value
|       is zero.
| 
| Repeat-By:
| ---------
| 
|    * Please replace this item with a description of the sequence of
|      events that causes the problem to occur.
| 
| Fix:
| ---
|   Add the following to the documentation:
|      If R1=0 means, no number is given, it means read all rows after
|      R0.

I'm having some difficulty parsing this statement.

|      Example: m=dlmread('data.csv', ",", [1,0,0,1]);
|      Will read Column 1 and 2, beginning in second line until the last
|      line.

jwe


More information about the Bug-octave mailing list