[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Possible (summer of code) projects for Octave
From: |
Ben Abbott |
Subject: |
Re: Possible (summer of code) projects for Octave |
Date: |
Wed, 05 Jan 2011 21:49:47 -0500 |
On Jan 5, 2011, at 8:33 PM, John W. Eaton wrote:
> On 5-Jan-2011, bpabbott wrote:
>
> | One feature of the new OOP is that an object's methods can modify itself.
>
> I think that is true only if it is a handle class object, not a value
> class.
>
> | Take a look at ML's inputParser.
> |
> | http://www.mathworks.com/help/techdoc/ref/inputparser.html
> |
> | The scheme for an inputparser object, "p", can be modified by its methods.
> For
> | example ...
> |
> | p.addRequired('filename', @ischar);
>
> Try
>
> isa (p, 'handle')
You are correct.
>> isa (p, 'handle')
ans = 1
Ben
Re: Possible (summer of code) projects for Octave, Daniel Kraft, 2011/01/04
- Re: Possible (summer of code) projects for Octave, Jaroslav Hajek, 2011/01/05
- Re: Possible (summer of code) projects for Octave, bpabbott, 2011/01/05
- Re: Possible (summer of code) projects for Octave, John W. Eaton, 2011/01/05
- Re: Possible (summer of code) projects for Octave, bpabbott, 2011/01/05
- Re: Possible (summer of code) projects for Octave, John W. Eaton, 2011/01/05
- Re: Possible (summer of code) projects for Octave,
Ben Abbott <=
Re: Possible (summer of code) projects for Octave, Jordi Gutiérrez Hermoso, 2011/01/04