import data from .dat file
61 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Voss
2023-10-31
fn = unzip('test.zip')
T = readtable('test.dat','FileType','text','Delimiter','\t','MultipleDelimsAsOne',true)
更多回答(0 个)
另请参阅
类别
在 Help Center 和 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!