I just checked in an improved dlmread function (dlmreadnew.cc) into the 
io/src folder.  It should properly respect your delimiter, converting 
empty fields to zero.  Unequal row lengths are allowed.  Since it is a 
compiled oct-file, it is very fast.  I made an effort to be compatible 
with Matlab as determined from the online help.

Please test it out.  At the moment it will only read in real numbers 
since I am simply using strtod directly for the conversion.  Sequential 
use of strtod might be a way to read in complex numbers... contributions 
are welcome.

Regards,
Jonathan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to