[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: File size limits in textread()?
From: |
koufalas |
Subject: |
Re: Re: File size limits in textread()? |
Date: |
Fri, 10 Jun 2005 15:19:17 +1000 |
Thanks Keith & Dmitri,
I'll give those ideas a try.
In my case, I could probably get the size of the file from a database query,
but it's more or less the same thing to use "wc -l file" on the query output.
Cheers,
Paul.
>
> From: "Dmitri A. Sergatskov" <address@hidden>
> Date: 10/06/2005 14:55:37
> To: Keith Goodman <address@hidden>
> CC: address@hidden
> Subject: Re: File size limits in textread()?
>
> 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
> -------------------------------------------------------------
>
This message was sent through MyMail http://www.mymail.com.au
-------------------------------------------------------------
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
-------------------------------------------------------------
- Re: Re: File size limits in textread()?,
koufalas <=