[Top][All Lists]

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

[Octave-bug-tracker] [bug #32772] subsref only expects one argument out

From: Mike Miller
Subject: [Octave-bug-tracker] [bug #32772] subsref only expects one argument out
Date: Mon, 27 Jan 2014 01:56:35 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36

Follow-up Comment #2, bug #32772 (project octave):

Oh, and looking at this one more time, I actually got this to work with the
following change to @MyObject/subsref:

function varargout = subsref (my_object, idx)
  [a,b] = do_something (my_object)
  varargout{1} = a;
  varargout{2} = b;

That seems like a usable workaround to me.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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