[IPOL discuss] matlab to C/C++ translation tools

Miguel Colom colom at cmla.ens-cachan.fr
Sat Mar 23 11:16:18 CET 2013


Quoting Nicolas Limare <nicolas.limare at cmla.ens-cachan.fr>:
> These MATLAB-to-C++ translators are commercial products developped by
> the Silkan[1] and companies.

Mathworks (the Matlab company) sells also a product called "Matlab  
coder" that creates ANSI C/C++ code [1].

If we had to chose one, using the product from the company that sells  
Matlab is the clearly the best option over third-party solutions, for  
long-term maintenance reasons.

As Jean-Michel pointed out, there's some problems with these kind of  
tools. Users prefer Matlab because they can use black-boxed libraries  
and Matlab build-in types. The black-boxes will simply be called from  
the C/C++ code and therefore the requirement of knowing exactly what  
the code can't be accomplished. And for the build-in types, it's the  
same problem.

Anyway, we can download a trial version from its web, to check the  
type of code this tool produces.

Miguel

[1] http://www.mathworks.fr/products/matlab-coder/




More information about the discuss mailing list