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

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

댓글 수: 3

Eric Nunes
Eric Nunes 2014년 1월 13일
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
Eric 2016년 4월 9일
boxd
Walter Roberson
Walter Roberson 2016년 4월 10일
Eric, the relevance of your comment is not obvious?

댓글을 달려면 로그인하십시오.

답변 (1개)

Jan
Jan 2012년 11월 18일
편집: Jan 2012년 11월 18일

2 개 추천

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에 대해 자세히 알아보기

태그

질문:

2012년 11월 18일

댓글:

2016년 4월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by