Info

此问题已关闭。 请重新打开它进行编辑或回答。

Find data from a low level text file

2 次查看(过去 30 天)
Tuhin
Tuhin 2016-9-9
关闭: MATLAB Answer Bot 2021-8-20
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 个评论
per isakson
per isakson 2016-9-10
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?

回答(2 个)

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

Tuhin
Tuhin 2016-9-10
I tried the following code:
I got,

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by