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: Søren Hauberg
Subject: Re: Matlab-style empty output/input arguments support
Date: Fri, 29 Jan 2010 13:10:37 -0800

fre, 29 01 2010 kl. 21:56 +0100, skrev Jaroslav Hajek:
> 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.

        >> [a, ~, b] = deal (1, 2, 3) % without semicolon
        ??? [a, ~, b] = deal (1, 2, 3) % without semicolon
                 |
        Error: Expression or statement is incorrect--possibly unbalanced
        (, {, or [.
         
This is with R2009a. Is that too old a version?

Soren




reply via email to

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