help-octave
[Top][All Lists]
Advanced

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

Re: Example of varargout?


From: Paul Kienzle
Subject: Re: Example of varargout?
Date: Sat, 2 Nov 2002 16:31:36 -0500
User-agent: Mutt/1.2.5.1i

Assuming you start with argout = 1, you can replace vrval(x) 
with varargout{argout++} = x.

Alternatively, if you have a number of vrval's you can use
        varargout = { x, y, z }

Paul Kienzle
address@hidden

On Sat, Nov 02, 2002 at 08:10:34PM +0000, Etienne Grossmann wrote:
> 
>   Hello,
> 
> just to ask : how does one use varargout? 
> 
>   Etienne
> 
> -- 
> Etienne Grossmann ------ http://www.isr.ist.utl.pt/~etienne
> 



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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