help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: calling octave from C


From: David Grundberg
Subject: Re: calling octave from C
Date: Wed, 18 Nov 2009 23:17:13 +0100
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

John W. Eaton skrev:
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

I just want to add that any script importing Pytave must be licensed under GNU GPLv3, since its linked to Pytave (and other GPL software as Octave). Pytave isn't a proprietary loop-hole, to be concise.

Regards,
David


reply via email to

[Prev in Thread] Current Thread [Next in Thread]