Re: Using Octave functions in c++

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

Re: Using Octave functions in c++

Mike Miller-4
On Mon, Jan 13, 2020 at 17:09:30 +0000, david myers wrote:
> Is there any way of making use of Octave's functionality in a c++ program?
> I've seen Octave and c++ mentioned together quite a lot but is it actually
> possible to use Octave's functions in c++? For example, could I create an
> FIR filter using the fir2 function and return the results to a
> vector inside c++, just like you would do in Octave itself?
> Really appreciate any help on this, thanks!

Yes, if you embed the Octave interpreter in your C++ program, and
convert the arguments and return values to and from Octave types. Take a
look at for
some description and examples.



signature.asc (849 bytes) Download Attachment