Read text file and append
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
How do i read a text file from line x to line y, and store in a new text file? Also how can i create a new text pile by appending 3 different text files?
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 29 Aug. 2013
It's a really really easy and straightforward adaption of the answer I gave in http://www.mathworks.com/matlabcentral/answers/85961#answer_95486 and you should have no trouble now doing this yourself. Just have another loop in the beginning where you read and throw away/ignore the first x-1 lines and quit reading when your line counter gets to y. A smart engineer like you should be able to do it in 2 minutes.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Text Data Preparation finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!