import data from .dat file
이전 댓글 표시
Hi,
I intend to read data from the .dat file. Here each data set is sperated by '&', so if I use below script, it just reads only the first eight rows. However, I need to read the entire data stored in the .dat file.
B=importdata('test.dat');
Output data = B.data;
댓글 수: 4
Star Strider
2023년 10월 31일
How does importdata read the file? It looks like it could be some sort of fixed-width format, since everything looks to be run together (using a non-monospace font to display it).
Turbulence Analysis
2023년 10월 31일
Star Strider
2023년 10월 31일
Turbulence Analysis
2023년 10월 31일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Data Import and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!