[Top][All Lists]

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

Re: [Fwd: Calling Octave from C++]

From: Josep Monés i Teixidor
Subject: Re: [Fwd: Calling Octave from C++]
Date: Wed, 30 Jun 2004 15:30:34 +0200
User-agent: Mozilla Thunderbird 0.6 (Windows/20040502)

Bona tarda Xavier,

Xavier Amatriain wrote:

Hi all,

We are developing a C++ framework for Music and Audio Processing

Our users have continuously requested to add a feature of being able to
call external Matlab functions from within the framework. We have been
reluctant to do so. One of the main reasons is that ours is a Free
Software environment and we do not feel like offering support for a
non-Free tool. That is why I was thinking on offering support for Octave
instead and promote the use of this great tool instead of Matlab.

But by reading this mailing list archive I see that calling Octave from
C++ is not very feasible. If I understand right there is no problem in
calling standard functions already implemented in liboctave but it is
not that easy with new .m files provided by the user.

Just to give another possibility, although I haven't tested it myself, it'd consider trying to integrate Jens Ruecknagel's "octave to c++ compiler" [1] too, if the subset of octave it implements is enough and if you want efficiency. I haven't tried but depending on your requirements it could be a nice try.

The users would need to compile their scripts somehow in order to make this work though.


Good luck!


Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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