import data from .dat file
Show older comments
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 Comments
Star Strider
on 31 Oct 2023
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
on 31 Oct 2023
Star Strider
on 31 Oct 2023
Turbulence Analysis
on 31 Oct 2023
Accepted Answer
More Answers (0)
Categories
Find more on Data Import and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!