help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help


From: Doug Stewart
Subject: Re: help
Date: Thu, 5 Dec 2013 19:38:25 -0500




On Mon, Dec 2, 2013 at 11:12 AM, "Maximilian Schäkel" <address@hidden> wrote:
Hello,
 
I have an ASCII file with lots of data, I would like to examine one by one.
How can I read only the first 1000 data from that file?
Is there an extra command, or can I determine when scanned?


Try the load command.
help load

here is an example:

a= load filename.ext
a(1:20)

This should load the complete file into memory and then display the first 20 lines of data.
 a(33:55) will display lines 33 to 55

HTH
doug
--
DASCertificate for 206392


reply via email to

[Prev in Thread] Current Thread [Next in Thread]