Find data from a low level text file

Hi there, I need to analyze data obtained from a machine. A sample I have added here. It starts recording data after the string 'StartOfData'. I tried using 'importdata', but it does not work. How can I load this data in matlab? Please help me with the problem. Thank you in advance.

1 comentario

per isakson
per isakson el 10 de Sept. de 2016
It's easier to help if you upload a small data file to use for testing.
Does the files contain more than one block of header and data?

Respuestas (2)

George
George el 10 de Sept. de 2016

0 votos

If it's always the same number of header lines you can use the HeaderLinesIn option of importdata.
Tuhin
Tuhin el 10 de Sept. de 2016

0 votos

I tried the following code:
I got,

La pregunta está cerrada.

Preguntada:

el 9 de Sept. de 2016

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by