how can I convert c codes to Matlab code?

1 回表示 (過去 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 Center および File ExchangeCall C++ from MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by