Importing data files with data sets seperated by enters
Mostrar comentarios más antiguos
Hi, I have multiple data files saved in one single .txt file like this (each dataset has two columes, but the datasets are in serials):
---------------
filename1
0.0932031 2.40372e+14 0.0932031 2.40372e+14 0.0996875 2.48883e+14 0.0996875 2.48883e+14 0.106172 2.58933e+14
filename2
0.112656 2.70647e+14 0.112656 2.70647e+14 0.119141 2.84178e+14
filename3
0.0932031 2.40372e+14 0.0932031 2.40372e+14 0.0996875 2.48883e+14 0.0996875 2.48883e+14 0.106172 2.58933e+14
filename4
0.229375 8.94822e+14 0.235859 9.50392e+14 0.235859 9.50392e+14 0.268281 1.22841e+15 0.268281 1.22841e+15
----------------------------------
I want to import every files into Matlab so I tried with importdata(). But it stops at the first enter. Anyone could give me some advice on how to import this kind of file into Matlab? Thanks a lot.
1 comentario
Azzi Abdelmalek
el 21 de Sept. de 2012
Have you one file or many
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Large Files and Big Data 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!