|
"Paul " <pvankaam86@hotmail.com> wrote in message <h1td3l$dl8$1@fred.mathworks.com>...
:
SNIP
:
> I am trying to get all the values between BEGIN_DATA and END_DAT. In this textfile which is actually bigger this piece of text repeats itself so I am trying to desing a code which reads the values between BEGIN_DATA and END_DAT.
> Can someone please help me!
>
> Thanks in advance
Hi,
There are severalpossible ways how to solve your problem:
1. The simplest way is to use the function fgetl, which reads the file line by line, and you may test the beginning and the end of useful data.
2. It is possible to use the function ffread:
http://www.mathworks.com/matlabcentral/fileexchange/9034
Hope it helps.
Mira
|