[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## Re: Using structures in octave C++ DLD functions

**From**: |
Paul Kienzle |

**Subject**: |
Re: Using structures in octave C++ DLD functions |

**Date**: |
Wed, 30 Jun 2004 21:09:24 -0400 |

Federico,
I've included Geraint's example on the wiki:
http://wiki.octave.org/wiki.pl?CodaStruct
Once you solve your problem, please extend this page with
any extra information you needed to discover for yourself.
Thanks,
Paul Kienzle
address@hidden
On Jun 30, 2004, at 9:44 AM, Geraint Paul Bevan wrote:

You can use the Octave_map class to get access to the elements of a
structure. Below is an example of how you could add an element "a.b.c"
with a value of -1 to a structure "a" defined in the Octave workspace.

-------------------------------------------------------------
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
-------------------------------------------------------------