Look at the TEXTREAD function. One of the options is 'headerlines', to
tell it the number of lines to skip at the beginning of the file. So
you would do something like this:
n = textread('myfile.txt','%n','headerlines',2)
You may need to tweak the format string or some other options, depending
on how the data is formatted.
Chris R wrote:
> Hi. I am trying to read in a file that was created by another
> application. The first two lines of this file are composed of text
> that I don't need. Following are 100 lines of numbers that I do
> need. Any idea on how to load this file without making an overly
> specific script? The number of rows of numbers the other application
> generates varies.
> Thank you for any tips!