[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #33536] strread returns incorect results and i
From: |
Philip Nienhuis |
Subject: |
[Octave-bug-tracker] [bug #33536] strread returns incorect results and is not compatibile with Matlab |
Date: |
Fri, 22 Jul 2011 22:29:21 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6 |
Follow-up Comment #5, bug #33536 (project octave):
Yes I overlooked the literal "[" before "%s", sorry.
Precisely this situation (reading just one line of text) exposes a weakness of
the way I split leading literals from fields.
I have an alternative but at the time chose to not implement it as that one
might break in case of e.g., empty numeric fields next to a literal.
The underlying issue is the way Octave's strread finally reads files (after
internal preparation): columnwise, while ML probably does it line by line (and
AFAIU with binary code).
Octave's way is fast for an m-file but makes for lots of interesting gotchas
if we want to mimic all of ML's options.
I'll have a look - I need this fixed myself as well.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33536>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/