How to Embed Matlab/Octave/R/Python in CPP

google buzz

When you are doing some computations in C++ you might not want to write everything yourself including optimizing advanced algorithms. You would want to reuse code or write it in a numerical computing environment such as matlab, octave, R, or python. In this post I link to sources that explain how to include such high-level code in C++ or to call it from a C++ program.

How to embed matlab code in C++? Seems a little involved but works on windows and linux.

How to embed octave code in C++? See this post for examples (haven't tried it myself).

How to embed GNU R code in C++? Seems very simple. Use Rinside!

You'll find explanations of embedding python in C++ in this article and this post.

Disclaimer: Of the linked material, I only saw Rinside in action.

No Response to "How to Embed Matlab/Octave/R/Python in CPP"

  Subscribe to replies to this post

 
This conversation is missing your voice. Your feedback is appreciated.
Post a Comment


You can use some HTML tags, such as <b>, <i>, <a>

If you see a message that says "your request could not be processed" press preview first and then post.
 
You can follow the discussion of this post by subscribing.


 
You are free to include information from this article on your own site if you provide a backlink. You can use the following markup:
<a href="http://www.myoutsourcedbrain.com/2009/09/how-to-call-matlaboctaver-from-cpp.html">How to Embed Matlab/Octave/R/Python in CPP</a>


 

Most Viewed

Recent Posts

Blog Archive