Use Octave's interpreter in my C++ program...

David Bateman David.Bateman at motorola.com
Fri May 23 09:44:39 CDT 2008


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                                David.Bateman at motorola.com
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



More information about the Octave-maintainers mailing list