How can I Read specific parts(formatted) of an unformatted text file?
Mostrar comentarios más antiguos
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 comentarios
Azzi Abdelmalek
el 10 de Ag. de 2016
Editada: Azzi Abdelmalek
el 10 de Ag. de 2016
This is not clear. Post a sample representing your text file and explain what you want to read
theShield
el 12 de Ag. de 2016
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Data Import and Analysis en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!