Matlab to C or C++

后端 未结 7 2033
不知归路
不知归路 2020-12-30 01:22

I am working on an image processing project using Matlab. We should run our program (intended to be an application) on a cell phone.We were then asked to convert our code in

7条回答
  •  生来不讨喜
    2020-12-30 01:28

    I remember there is a tool to export m-files as c(++)-files. But I could never get that running. You need to add some obscure MATLAB-headers in the c/c++code, ... And I think it is also not recommended.

    If you have running MATLAB-code, it shouldn't take too much effort to do the conversion "by hand". I have been working on several project where MATLAB was used and it was never consider to use any tools to convert the code to C/C++. It was always done "by hand".

    I believe to have been the only one who ever investigate into using a tool.

提交回复
热议问题