How to read .dat file and remove headerline from the file using textscan ?
2 次查看(过去 30 天)
显示 更早的评论
Hi,
I want to analysis a text file data ...
IgorTime,Extinction,Scattering,Loss,Pressure,Temperature,Signal,LossRef,Status,WC,SignalRef,RawScatRef,RawScat,SDR,WCRef,Timestamp
3636548572.81,91.964,76.805,598.664,750.80,303.97,51037,518.748,10135,0.977,56823.625,18569.550,22996,1754,0.975,2019/03/27 16:22:54.082
3636548573.81,92.384,78.404,598.979,751.26,303.97,51024,518.748,10135,0.977,56823.625,18569.550,23143,1754,0.975,2019/03/27 16:22:55.082
3636548574.81,81.198,69.516,590.807,750.95,303.98,51560,518.748,10135,0.977,56823.625,18569.550,22729,1754,0.975,2019/03/27 16:22:56.082
3636548575.81,82.222,73.687,591.547,750.49,303.98,51517,518.748,10135,0.977,56823.625,18569.550,23118,1754,0.975,2019/03/27 16:22:57.082
0 个评论
回答(1 个)
Raj
2019-6-14
See the "Name-Value Pair Arguments" section here:
You can use 'HeaderLines' to skip reading the header lines.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import and Export 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!