octave-maintainers
[Top][All Lists]
Advanced

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

Re: Matlab-style empty output/input arguments support


From: Jaroslav Hajek
Subject: Re: Matlab-style empty output/input arguments support
Date: Sat, 30 Jan 2010 22:20:03 +0100

On Fri, Jan 29, 2010 at 11:14 PM, Michael D Godfrey
<address@hidden> wrote:
> On 01/29/2010 12:56 PM, Jaroslav Hajek wrote:
>
> Incidentally, is anyone able to check a recent Matlab to find out what
> is displayed by the command
> [a, ~, b] = deal (1, 2, 3) % without semicolon
> ?
> Is the middle value displayed? If not, then I suppose we really should
> simply omit the swallowed variables from the result. That's going to
> be easy to implement as well.
>
>
> matlab 2009R says:
>
>>> [a, ~, b] = deal (1, 2, 3)
>
> a =
>
>      1
>
>
> b =
>
>      3
>
>>>
>

Thanks, I think this settles it. The ignored values will be omitted
from the return list.

-- 
RNDr. Jaroslav Hajek, PhD
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz



reply via email to

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