[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Use Octave's interpreter in my C++ program...
From: |
Dach Miroslaw |
Subject: |
Use Octave's interpreter in my C++ program... |
Date: |
Wed, 28 May 2008 17:16:36 +0200 |
Dear John Swensen,
>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. As with the MEX interface, we
>could make the functions act like the Matlab Engine counterparts.
I have tried out your idea and it works very well for me. Your new approach
looks much better than the previous embedded one which referred to matrices
conversion from ASCII to the internal octave representation and back to ASCII.
Thank you very much for this great idea.
Best Regards
Miroslaw Dach
Re: Use Octave's interpreter in my C++ program..., bernddude, 2008/05/22
- Use Octave's interpreter in my C++ program...,
Dach Miroslaw <=