[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Textscan Stops for Missing Data

From: PhilipNienhuis
Subject: Re: Textscan Stops for Missing Data
Date: Fri, 25 Aug 2017 06:19:26 -0700 (MST)

gciriani wrote
> I have attached sample 
> <>  
>  of about 110 lines (after the header). The code I had outlined reads
> correctly the first 30 lines; at the 31st line it reads the data up to the
> column with the missing datum (column viewtime), and it stops. 
> The 
> MatLab reference <>  
>  shows under section 
> Specify Delimiter and Empty Value Conversion
>  that it should be possible to keep going.
> P.S.
> For the example I just included the format string needs to be the
> following:
> "%q %q %f %q %f %q %f %f %q %f %q %f %q %s %f %q"

Another option would have been csv2cell() in the io package. That can read
delimited data files with mixed text/numeric data.
But when I tried it turned out it couldn't read you file either, while
AFAICS it should be able to (nothing wrong with the file)
I'll look into that.


View this message in context:
Sent from the Octave - General mailing list archive at

reply via email to

[Prev in Thread] Current Thread [Next in Thread]