How can I read a .txt file with out the header?
Show older comments
Hi, I have several files for a different points. The file name is a number like this:
C:\Users\cborba\Documents\Tides\10513.txt

I need get the latitude of each one(line 4 from the header) and read the file without the header (starting from line 12). How can I do this?
Thanks
Accepted Answer
More Answers (1)
the cyclist
on 6 Oct 2014
0 votes
One possibility is to use the Import Tool, available on the Home tab of the Toolstrip of the Command Window. This allows you to specify the exact spreadsheet locations you want to import.
Categories
Find more on Scripts in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!