How to use textscan to read this .dat file?
Afficher commentaires plus anciens
Hi,
I fail to use textscan to read the following formatted data. What should be the correct argument to read it and let the same data type be in a single array? Thanks!
{"time":1431653957, "OD":0.0010, "Z":0.0000, "U":0}
{"time":1431654017, "OD":0.0007, "Z":0.0000, "U":0}
{"time":1431654077, "OD":-0.0005, "Z":0.0000, "U":0}
{"time":1431654137, "OD":-0.0015, "Z":0.0000, "U":0}
3 commentaires
Instead of giving us this short and probably edited version of the text, please simply upload the file using the paperclip button. You will need to push both Choose file and Attach file buttons.
It is much easier for us to work with the real data file, rather than trying to interpret this text.
Hsinho
le 17 Mai 2015
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Data Import and Export dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!