From help-octave-request at bevo dot che dot wisc dot edu Wed Sep 18 13:20:52 2002 Subject: Re: Reading files is slow From: Tom Kornack To: help-octave at bevo dot che dot wisc dot edu Cc: ramil dot sagum at up dot edu dot ph Date: Wed, 18 Sep 2002 14:16:32 -0400 Notes: 1. Indeed, I should clarify that I'm reading a text, tab-delimited file. Is there an easy way (is there a common tool) to convert this file into a binary file? 2. load seems to be finicky about carriage returns and line feeds. I work in an extremely heterogeneous computing environment. What is octave's requirement and is there a convenient tool to convert text files to have the appropriate line ending sequence? 3. Please excuse my skull thickness, but can you clarify this process of putting text data into a buffer by treating it as binary? I'm afraid I need some examples. And why wouldn't this be implemented in a decent text-data reading algorithm? 4. I can't find the procedure wavread. Is this shorthand or a procedure? Tom On Wednesday, Sep 18, 2002, at 14:13 America/New_York, Ramil G. Sagum wrote: > don't read text data as text. treat the file as binary and put it into > a > buffer. classifying a file as 'text' adds some processing. > (wavread-ing a > 10Meg wave file, for example, takes only a few seconds.) kornack.com 609-688-9077 (h), 609-258-0702 (w) Fundamental Symmetries Lab, Princeton University 414C Devereux Avenue, Princeton, New Jersey 08540 ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------