reading from a text file
Afficher commentaires plus anciens
hello everyone,
i am trying to read from a text file which has the following format
X: 549.123 Y: -100.235 Z: -230.89
X: 550.123 Y: -101.235 Z: -231.89
X: 551.123 Y: -102.235 Z: -232.89
X: 552.123 Y: -103.235 Z: -233.89
X: 553.123 Y: -104.235 Z: -234.89
the problem is when i read using textscan it stores the data in 3*10 cells where the first cell format is in the first column X: and in second column 549.123.
i want to store data in 3 matrices each of 1*5 ?
eagerly waiting for a reply.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Text Files 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!