octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #47538] textscan result different from 4.0.0 t


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #47538] textscan result different from 4.0.0 to dev
Date: Sat, 26 Mar 2016 00:12:21 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Update of bug #47538 (project octave):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #1:

Actually the default value of ReturnOnError in Octave is the string
"continue", which is documented to mean keep reading even if a conversion
specifier doesn't match.

I'm not sure what the expected result is supposed to be with this option, but
if you explicitly set ReturnOnError to either true or false I think you get
the right answer, hopefully Matlab compatible.

The 4.0 version of textscan says

> warning: textscan: ReturnOnError is not fully implemented

By the way Matlab says that the default value of ReturnOnError is true, and
doesn't even mention a value of "continue", so I think this needs changing
anyway to be compatible.

https://www.mathworks.com/help/matlab/ref/textscan.html

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47538>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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