[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Use Octave's interpreter in my C++ program...
From: |
David Bateman |
Subject: |
Re: Use Octave's interpreter in my C++ program... |
Date: |
Fri, 23 May 2008 16:44:39 +0200 |
User-agent: |
Thunderbird 2.0.0.12 (X11/20080306) |
John Swensen wrote:
>
> So I went ahead and converted a class I had written for the Matlab
> Engine into a similar class for Octave. It is based on the
> pseudo-code I sent in my last email. I have attached a tgz file with
> the simple class and a test program. This is based on the concept of
> starting up octave_main() in embedded mode, pushing and pulling
> variables from the symbol table, and calling eval string to perform
> actions. Would the maintainers ever be interested in incorporating a
> more full-fledged version into Octave.
Hey, who's a maintainer? It all depends as far as I see on your
motivation to maintain the code.. However, the general line drawn on
what goings into Octave or octave-forge is based on whether the
equivalent functionality is a core matlab functionality. There are
exceptions of course...
> As with the MEX interface, we could make the functions act like the
> Matlab Engine counterparts.
Is the Matlab Engine your code or is it something more generic? If its
generic then it makes sense to try and have a class that performs with
Octave with the same API such that application written for one interface
can use the other.
D.
--
David Bateman address@hidden
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
Re: Use Octave's interpreter in my C++ program..., bernddude, 2008/05/22