From: giacomo reggiori on
I need to import a .txt file in which the first 4 lines are text that i don't need, from line 14 to the end there are data i need to manipulate, if I write load file.txt, it gives me an error because there are not only numeric data in the file, how can i do it?
thank you
From: someone on
"giacomo reggiori" <giacomoreggiori(a)gmail.com> wrote in message <hvnof5$r40$1(a)fred.mathworks.com>...
> I need to import a .txt file in which the first 4 lines are text that i don't need, from line 14 to the end there are data i need to manipulate, if I write load file.txt, it gives me an error because there are not only numeric data in the file, how can i do it?
> thank you

doc textscan % or doc textread

And use the "Headerlines" option.