Suppose the file foo contains the single line " 1". Then matlab and octave
show the following different behavior:

matlab:1> disp(dlmread('foo'))
     1
octave:1> disp(dlmread('foo'))
   0   1

Only if I prescribe the delimiter I get identical results:

matlab:2> disp(dlmread('foo',' '))
     0     1
octave:2> disp(dlmread('foo',' '))
   0   1


G.
-- 
View this message in context: 
http://www.nabble.com/dlmread-and-delimiters-tp19644275p19644275.html
Sent from the octave-dev mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to