Loading data from a dat file without headers
显示 更早的评论
Hi
I have data file (day_sensor.dat) in format as seen in attached image. My purpose is to create arrays without the headers.I had seen similar post, but none actually answered the question i have.
How do i make matlab read it from thε 10nd line? I have also attached the data file in .txt format as .dat is not supported here.
I had seen similar post, but none actually answered the question i have. This is the code i am using to load the data.

回答(1 个)
Thorsten
2015-7-19
0 个投票
Use textread with 'headerlines', 10.
类别
在 帮助中心 和 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!