[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dynamic access to data structure
From: |
Marco Canini |
Subject: |
Re: Dynamic access to data structure |
Date: |
01 Jun 2003 16:52:00 +0200 |
On Sat, 2003-05-31 at 21:15, Paul Kienzle wrote:
> Marco Canini wrote:
>
> >i would like to know if there's something like
> >
> >struct_set_member(a, d, 3)
> >
> >and
> >
> >struct_get_member(a, d)
> >ans = 3
> >
> On newer octave (>2.1.40?) , you can use a.(d), where
> d is a string.
i use 2.1.40, i'm ok it works
thanks!
>
> On older octave, you can use getfield/setfield from
> octave-forge (http://octave.sf.net).
>
> Paul Kienzle
> address@hidden
>
>
>
> -------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.
>
> Octave's home on the web: http://www.octave.org
> How to fund new projects: http://www.octave.org/funding.html
> Subscription information: http://www.octave.org/archive.html
> -------------------------------------------------------------
--
Marco Canini <address@hidden>
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Dynamic access to data structure,
Marco Canini <=