|
From: | Dmitri A. Sergatskov |
Subject: | Re: File size limits in textread()? |
Date: | Thu, 09 Jun 2005 22:55:37 -0600 |
User-agent: | Mozilla Thunderbird (X11/20050322) |
Keith Goodman wrote:
... varargout{10} = cell(6000,1);I guess we don't know ahead of time that there are 6000 rows. Is there a very fast way to count the number of rows?
It is a dirty hack, but str = system("wc -l filename") kind of works. Regards, Dmitri. -- ------------------------------------------------------------- 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 -------------------------------------------------------------
[Prev in Thread] | Current Thread | [Next in Thread] |