How to convert c/c++ code to MatLab code?

I have c code which i need to convert into MATLAB for further processing.

3 个评论

The best way is to write the C code as a psuedo code, then it would be easy fr you to re-implement it in matlab.
Eric, the relevance of your comment is not obvious?

请先登录,再进行评论。

回答(1 个)

Jan
Jan 2012-11-18
编辑:Jan 2012-11-18
You can't.
Either a re-implementation is required in general, or you can call the C++ code from Matlab using the MEX-interface. See http://www.mathworks.com/help/matlab/creating-c-c-and-fortran-programs-to-be-callable-from-matlab-mex-files.html

类别

帮助中心File Exchange 中查找有关 Call C++ from MATLAB 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by