[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Textread from io package
From: |
Philip Nienhuis |
Subject: |
Re: Textread from io package |
Date: |
Wed, 10 Apr 2013 11:07:24 -0700 (PDT) |
Daniel Arteaga-2 wrote
> Hi,
>
> The following piece of code works with Matlab:
>
> [Trial Event_Type Code
> Time]=textread('test.log','%d%s%s%d%*[^\n]','headerlines',5);
>
> In Octave 3.6.2 raises an error (both tested in Ubuntu 12.10 and Windows)
>
> This code should read the first four columns of the attached text file
> and discard the rest. How can it be adapted to Octave?
>
> I have tried several things like replacing *[^\n] by *, adding and
> 'endofline' option, all without success.
>
> Any clue?
?? textread *from io package*??
Sorry for the disappointment.
Anyway see your bug report - this isn't going to be fixed soon, unless
somebody dives on implementing a binary textscan.
Philip
--
View this message in context:
http://octave.1599824.n4.nabble.com/Textread-from-io-package-tp4651648p4651709.html
Sent from the Octave - General mailing list archive at Nabble.com.