how can I convert c codes to Matlab code?

1 次查看(过去 30 天)
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