help-octave
[Top][All Lists]
Advanced

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

Re: [newbie] how to make a function perform differently depending on out


From: Jean Dubois
Subject: Re: [newbie] how to make a function perform differently depending on output asked for
Date: Mon, 8 Dec 2014 22:50:17 +0100

thanks a lot! this was exactly what I was looking for
kind regards,
jean

2014-12-08 19:38 GMT+01:00 Nir Krakauer <address@hidden>:
> if nargout > 1
> [do something]
> endif
>
> or
> if isargout(3)
> [ ]
> endif
>
> cf.
> https://www.gnu.org/software/octave/doc/interpreter/Multiple-Return-Values.html



reply via email to

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