import data from .dat file
60 views (last 30 days)
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
Accepted Answer
Voss
on 31 Oct 2023
fn = unzip('test.zip')
T = readtable('test.dat','FileType','text','Delimiter','\t','MultipleDelimsAsOne',true)
2 Comments
More Answers (0)
See Also
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!