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

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

[Octave-bug-tracker] [bug #32067] about error "value on right hand side


From: Guillaume
Subject: [Octave-bug-tracker] [bug #32067] about error "value on right hand side of assignment is undefined"
Date: Thu, 06 Jan 2011 14:26:31 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.2.13) Gecko/20101203 SUSE/3.6.13-0.2.1 Firefox/3.6.13

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

                 Summary: about error "value on right hand side of assignment
is undefined"
                 Project: GNU Octave
            Submitted by: gyom
            Submitted on: Thu Jan  6 14:26:30 2011
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Guillaume
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

The following lines of code each return the error:
  "value on right hand side of assignment is undefined"

  a='a';b={};c=cellfun(@(x)strcmp(a,x),b)

  c=get(findobj(0,'Tag','xxx'),'a')

while MATLAB returns c=[] on both.
Octave 3.2.4 also returns [] for the first example.





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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