help-octave
[Top][All Lists]
Advanced

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

Re: named arguments


From: John W. Eaton
Subject: Re: named arguments
Date: Fri, 16 Mar 2012 12:39:04 -0400

On 16-Mar-2012, Jordi Gutiérrez Hermoso wrote:

| Really? How? Without futzing around with varargin and testing for
| string equality?

Yes, you have to use varargin and look for strings.

You could also use an option structure.

As Olaf said, I don't think it is wise to invent new syntax.

jwe


reply via email to

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