Possible Duplicate:
Matlab to C or C++
is there any software to convert MATLAB code to c....
Yes. Embedded Matlab. Works well but only allows use of a subset of matlab functions.
http://www.mathworks.co.uk/products/featured/embeddedmatlab/
It is fine for converting your algorithms into C without having to worry about the possibility of errors being introduced in hand conversion. you will need a license for rtw.
http://www.mathworks.co.uk/products/rtw/
MATLAB is able to compile your .m files to binary files if you just want them to run faster:
http://www.mathworks.com/help/toolbox/compiler/mcc.html
If C++ is acceptable, you could try a library such as Armadillo, which provides C++ versions of many MATLAB functions. This allows for a relatively easy conversion of many functions.
精彩评论