[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `argn' ? … still part of Octave?
From: |
John W. Eaton |
Subject: |
Re: `argn' ? … still part of Octave? |
Date: |
Wed, 5 Oct 2011 20:27:09 -0400 |
On 6-Oct-2011, Carnë Draug wrote:
| I found this because I wanted to implement a new class and was trying
| to mimic the obj.method type of API (for matlab compatibility).
I don't think you can completely mimic handle classes in Octave since
Octave doesn't really provide a way to create references.
| idea is to use arg (or inputname) to get the name of the variable in
| the caller and change its value with assignin('caller',...)
OK, I guess you can try that, but it will be somewhat slow and
it seems to me that it will definitely be clumsy.
jwe
- `argn' ? … still part of Octave?, Ben Abbott, 2011/10/04
- `argn' ? … still part of Octave?, John W. Eaton, 2011/10/05
- Re: `argn' ? … still part of Octave ?, Ben Abbott, 2011/10/05
- Re: `argn' ? … still part of Octave?, Carnë Draug, 2011/10/05
- Re: `argn' ? … still part of Octave?,
John W. Eaton <=
- Re: `argn' ? … still part of Octave ?, Ben Abbott, 2011/10/05
- Re: `argn' ? … still part of Octave?, Carnë Draug, 2011/10/05
- Re: `argn' ? … still part of Octave ?, Ben Abbott, 2011/10/06
- Re: `argn' ? … still part of Octave ?, John W. Eaton, 2011/10/06
- Re: `argn' ? … still part of Octave ?, Ben Abbott, 2011/10/23
- Re: `argn' ? … still part of Octave?, Carnë Draug, 2011/10/24
- Re: `argn' ? … still part of Octave ?, Ben Abbott, 2011/10/24
- Re: `argn' ? … still part of Octave?, Carnë Draug, 2011/10/24
- Re: `argn' ? … still part of Octave ?, Ben Abbott, 2011/10/24
- Re: `argn' ? … still part of Octave?, Carnë Draug, 2011/10/25