On 18-Nov-2009, Jaroslav Hajek wrote:
| On Wed, Nov 18, 2009 at 11:06 AM, Philipp Leser <address@hidden>wrote:
|
| > Hey;
| >
| > I try to get the following done:
| >
| > - I have a very large C program, which extracts data from an Oracle data
| > base
| >
| > - I want to pass some of the data to octave
| >
| > - use my own octave function on that data
| >
| > -pass it back to my C routine$,1s&�.
| >
| >
| >
| > I tried to use google and the octave manual. I don$,1ry�t think that mex
files
| > or oct files are the right tools to do that ( I want to call Octave from
| > within a c-file). I have found quite a body of information how MATLAB
| > handles these tasks (
| >
http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_external/f15075.html
| > )
| >
| >
| >
| > Can this be done in Octave too? Are there any counterparts in octave to the
| > matlab engPutvariable, engEvalstring and similar functions?
| >
| > Any hints/links how to handle the problem would be welcome.
| >
| > Thank you very much in advance
| >
| > regards
| >
|
| Octave can be embedded in C++ applications relatively easily. A basic
| example is in the manual under "Dynamically Linked Functions/Standalone
| Programs".
| Native embedding interfaces are also available, for instance for Python:
| https://launchpad.net/pytave/
Please also remember that if you embed Octave, your program is subject
to the terms of the GNU GPL. Philipp, is your program be free
software?
jwe