From: nedo nodo on
"Malcolm McLean" <malcolm.mclean5(a)btinternet.com> wrote in message <hleh2l$5eb$1(a)fred.mathworks.com>...
> "nedo nodo" <nedo.nodo(a)gmail.com> wrote in message
> > I have a "malformed" text file: it is similar to a file .CSV, but Matlab can't read it
> > automatically.
> > The code read well only the first line of values...Can you help me?
> >
> I don't think there's anything you can do, except to code the function using the primitive fgets() and string matching functions like sscanf() and regexpr(), using whatever logic you need to work round the damage.

Thank you for your fast answer.

Do you know a script to read from text file?