[Top][All Lists]

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

Re: Property, value pairs

From: Jaroslav Hajek
Subject: Re: Property, value pairs
Date: Fri, 5 Feb 2010 10:30:56 +0100

On Fri, Feb 5, 2010 at 10:00 AM, David Grundberg <address@hidden> wrote:
> Hi,
> I'm writing transformation functions for Octave. The imtransform
> function is supposed to take property/value-pairs similar to graphics
> functions, where case-sensitivity is ignored and callers don't even have
> to spell out all of the property name.
> So imtransform(x, tform, 'YData', [1, 20]) would mean the same thing as
> imtransform(x, tform, 'ydat', [1, 20]).
> Is there an easy way to do this in Octave m-code?
> David

strmatch may help you here.

RNDr. Jaroslav Hajek, PhD
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic

reply via email to

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