How to read .dat file and remove headerline from the file using textscan ?

2 Ansichten (letzte 30 Tage)
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

Antworten (1)

Raj
Raj am 14 Jun. 2019
See the "Name-Value Pair Arguments" section here:
You can use 'HeaderLines' to skip reading the header lines.
  1 Kommentar
Vishnu Dhakad
Vishnu Dhakad am 14 Jun. 2019
I have tried following code
f = load('CAPS_20190606.dat');
but i did not got timestamp data
can you help me to read the file?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Data Import and Export finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by