Hi all!
Since yesterday, i have had problem by using "regexp" in MATLAB. Actualy, it is not the first time fro me to use "regexp", but now it gives me error. It says ??? Reference to non-existent element of a cell array.
I want to extract some part from my *.dat file.
just for explanation; in the following part of my file, i want to get only
the parts from 7225 A...... till 7224 A... 02:008:60590
the line in my program for this processing is following:
SOLUTION_EPOCHS=regexp(str,'\+\s*SOLUTION/EPOCHS\s**\s*Code\s*PT\s*SBIN\s*T\s*Data_start__\s*Data_end____\s*(.*)\s*\-\s*SOLUTION/EPOCH','tokens');
SOLUTION_EPOCHS_=SOLUTION_EPOCHS{:}{:};
+SOLUTION/EPOCHS
*Code PT SBIN T Data_start__ Data_end____
7225 A 1 R 02:007:61281 02:008:60250
7331 A 1 R 02:008:14707 02:008:59629
7209 A 1 R 02:007:61281 02:008:60590
7224 A 1 R 02:007:61281 02:008:60590
-SOLUTION/EPOCH
Before i used the same line in my program for the same processing and it worked. But now, i doesn't work. I really can't understand the problem. The *.dat file which i used previously was the same structured file which i used now.
any help for this apreciated!
thax.
emine