Read a txt file

2 views (last 30 days)
Sebastian G
Sebastian G on 10 Feb 2017
Answered: dpb on 10 Feb 2017
Hi How I do to jump n lines when I read a text file? Thanks in advance Sebastian

Accepted Answer

dpb
dpb on 10 Feb 2017
Use 'headerlines' named parameter in textscan is probably the simplest; a loop and fgetl also works well albeit a little lower level...

More Answers (0)

Categories

Find more on Data Import and Export 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!