how to call an octave class from a C++ program

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

how to call an octave class from a C++ program

shravan61
Hi,

I found online tutorial on how to call an octave function from C++ program
https://www.gnu.org/software/octave/doc/interpreter/Standalone-Programs.html

Similarly, may I know if we can call an octave class (@className) from C++. If I use
octave_value_list out = feval ("className", in, 1);

Does out(0) contain object of type className?
How to access the members of the class ? For example can we do this out(0).data?

Thanks
Shravan
Reply | Threaded
Open this post in threaded view
|

Re: how to call an octave class from a C++ program

shravan61
Guys,

Any idea on this?

Thanks
Shravan
Reply | Threaded
Open this post in threaded view
|

Re: how to call an octave class from a C++ program

rocketsound
I'm not familiar with the topic but you might find the following link http://octave.sourceforge.net/docs.html useful (especially the second and third point you'll find there).