string extraction from txt file
Mostrar comentarios más antiguos
Hi Matlab community!
I have a txt file which cointains n #rows and i want to extract the strings for each row with a for Cycle.
Importing the txt i have a textdata string like:

so i'd like to extract, starting from row #2, the contents in column 2 for each row (in this case there's just 1 row i'm interested to).
Which is the best way to do it?
Many Many thanks to everyone!!
Respuestas (1)
Prabakar kg
el 20 de Mayo de 2022
0 votos
Please check readtable. This can help you read the data from txt and spreadsheet files as MATLAB table. Hope this helps!
1 comentario
Pas182
el 20 de Mayo de 2022
Categorías
Más información sobre Desktop en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!