The problem is i do not know what kind of fuctions/variables exist in what headers. If there was some list it could be helpful.
Besides I couldn't find octave_main or feval in any of my include files. could you help
--- On Tue, 30/12/08, Jaroslav Hajek <address@hidden> wrote:
From: Jaroslav Hajek <address@hidden> Subject: Re: Regarding liboctave To: address@hidden Cc: address@hidden Date: Tuesday, 30 December, 2008, 1:05 PM
On Tue, Dec 30, 2008 at 7:43 AM, <address@hidden> wrote: > My problem is i already have a .m file. I am trying to quickly write a c++ > code to do the same functionality. I thought using octave headers
would > help. > > Besides I could not find ANY documentation for the octave header include > files. Can any of you point me in the righr direction? >
Currently, there is no systematic documentation for the C++ API (you can check the ML for several pervious discussions on this topic. If you now have some questions/suggestions ready, chances are good that they have already been answered :). You can, of course, inspect the code directly to find out what it does.
Using an m-function like imread from stand-alone C++ is possible, but you first need to initialize the interpreter, which is close to starting Octave itself. The easiest way is probably to call octave_main first, then call Feval.
-- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url:
www.highegg.matfyz.cz
|