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

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

[Octave-bug-tracker] [bug #33536] strread returns incorect results and i


From: Arnaud Delorme
Subject: [Octave-bug-tracker] [bug #33536] strread returns incorect results and is not compatibile with Matlab
Date: Sat, 11 Jun 2011 15:40:55 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

URL:
  <http://savannah.gnu.org/bugs/?33536>

                 Summary: strread returns incorect results and is not
compatibile with Matlab
                 Project: GNU Octave
            Submitted by: arnodelorme
            Submitted on: Sat 11 Jun 2011 03:40:55 PM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.4.0
        Operating System: Mac OS

    _______________________________________________________

Details:

strread function has multiple issues including returning different results
compared to Matlab 

str = '[Common Infos]'; 
strread(str, '[%s', 'delimiter', ']') 

ans = 
'Common Infos' % 
(crashes under Octave) 

[a,b,c] = strread('1,,2', '%s%s%s', 'delimiter', ',') 

(does not return the same result under Octave; under Matlab, the second
element of the cell array is empty (as it should be) whereas under Octave the
third one is empty) 




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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