How can I Read specific parts(formatted) of an unformatted text file?
Ältere Kommentare anzeigen
Hi guys,
I got confused about reading specific parts of an unformatted text. My text is something like this :
First 50(this number can vary) rows are in different length and consist of stings and number..
Then a specific pattern comes, and let say it is:
0 Alpha Beta A B C D E F G H I K
I want the skip the next and read the next 20(this number can change too) rows and 12 columns that consist of numbers.
Then I want to skip the lines till I met
0 X Y Z K L M N P R
I want the skip the next and read the next 20(this number can change too) rows and 9 columns that consist of numbers.
(Columns are tab separated)
I got very confused. Can any one Help me ?
2 Kommentare
Azzi Abdelmalek
am 10 Aug. 2016
Bearbeitet: Azzi Abdelmalek
am 10 Aug. 2016
This is not clear. Post a sample representing your text file and explain what you want to read
theShield
am 12 Aug. 2016
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Data Import and Analysis finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!