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

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

[Octave-bug-tracker] [bug #41992] inputname fails for arguments stemming


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #41992] inputname fails for arguments stemming from a list
Date: Sat, 29 Mar 2014 02:58:16 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36

Update of bug #41992 (project octave):

                Category:                    None => Octave Function        
              Item Group:                    None => Matlab Compatibility   
                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #1:

Confirmed here as well. I'm not sure if that's the expected behavior, can you
test what Matlab does for this example?

Also what would Matlab do with named arguments following a cell array, for
example


function foo(varargin) 
inputname(1) 
inputname(2) 
inputname(3) 
inputname(4) 
end

c = {1,2,3};
x = 12;
foo(c{:},x)


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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