Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Find data from a low level text file

2 views (last 30 days)
Tuhin
Tuhin on 9 Sep 2016
Closed: MATLAB Answer Bot on 20 Aug 2021
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 Comment
per isakson
per isakson on 10 Sep 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?

Answers (2)

George
George on 10 Sep 2016
If it's always the same number of header lines you can use the HeaderLinesIn option of importdata.

Tuhin
Tuhin on 10 Sep 2016
I tried the following code:
I got,

This question is closed.

Community Treasure Hunt

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

Start Hunting!