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

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

[Octave-bug-tracker] [bug #66617] structfun assumes output arguments for


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #66617] structfun assumes output arguments for invoked command
Date: Mon, 30 Dec 2024 21:21:22 -0500 (EST)

Follow-up Comment #4, bug #66617 (group octave):

What happens in Matlab if you define a function like


function foobar (x)
  disp (nargout)
end


and then execute the following code


varargout = {[]};
[varargout{:}] = cellfun (@foobar, {1})


?


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66617>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

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