Importing data files with data sets seperated by enters
이전 댓글 표시
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
Azzi Abdelmalek
2012년 9월 21일
Have you one file or many
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Large Files and Big Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!