How to store particular data

1 次查看(过去 30 天)
Mekala balaji
Mekala balaji 2015-8-7
I used the attached code to read the text files, But Now I want to store the particular data: 1. Information after "Additional information:" this text appears 2. Data below "Additional information:"
More specifically I want :
Data_event: (All data appears between: Additional information, stop at ----line)
1670890
5480
46754
15643
76542
xy_Data:
-14 0.28
-13 0.27
-12 0.26
-11 0.25
-10 0.24
-9 0.23
-8 0.23
-7 0.22
-6 0.22
-5 0.22
-4 0.22
-3 0.22
-2 0.22
-1 0.22
0 0.23
1 0.22
2 0.22
3 0.22
4 0.22
5 0.22
6 0.22
7 0.23
8 0.23
9 0.23
10 0.24
11 0.26
12 0.29
I used the following code to read the text files, and store other information I required, but I am unable to get the above mentioned data:
Many many thanks in advance.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Import and Export 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by