How can I Read specific parts(formatted) of an unformatted text file?
Mostra commenti meno recenti
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 Commenti
Azzi Abdelmalek
il 10 Ago 2016
Modificato: Azzi Abdelmalek
il 10 Ago 2016
This is not clear. Post a sample representing your text file and explain what you want to read
theShield
il 12 Ago 2016
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Data Import and Analysis in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!