Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Number of line in a text file
Replies: 12   Last Post: Jan 23, 2013 1:51 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Benoit Valley

Posts: 16
Registered: 10/19/05
Re: Number of line in a text file
Posted: Nov 2, 2006 9:04 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

And what are the commands to break the file in parts before reading
it ?

Thanks for your useful suggestion and help.
Benoît

Kirill wrote:
>
>
> You will need to read it anyway so the only resort is to reduce
> function call overhead: reading it by bug chunks, 10th or 100ths
> megabytes, will be much faster.
> Kirill
>
> Benoît Valley wrote:

>> I need to determine the number of line in a text file.
>>
>> Is there a more efficient way that using getl in a while loop ?
>>
>> Thanks,
>> Benoît

>
>




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.