how can I convert c codes to Matlab code?

조회 수: 2 (최근 30일)
fariba amini
fariba amini 2016년 4월 5일
답변: dpb 2016년 4월 5일
hello.i have a C code and I want to convert it in Matlab. i mean i need a compiler to convert C code to Matlab. how can I do it?

답변 (1개)

dpb
dpb 2016년 4월 5일
No automated tool exists afaik. You'll have to analyze the C code and rewrite the algorithm in Matlab. If it's a very involved computation, turning existing C code into a Matlab-callable mex function may be the simpler route rather than rewriting in its entirety.

카테고리

Help CenterFile 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