Read text file
Afficher commentaires plus anciens
Hi,
I have a text file which contains the following data format
3
abc (1:200, 200: 400)
bcd (1:300, 200: 300)
cde (1:100, 200: 500)
The first line tells me the number of lines to read in. How do I read in the values of the 2: 4th lines? I am using textread but it only returns the value of the first line.
Thanks. Charles
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Standard File Formats dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!