Convert MATLAB program to C++
显示 更早的评论
My current task is to convert a MATLAB program to C++, which contains image processing functions like imread, edge, strel, etc. Since it took a long time to finish the MATLAB program, so we want to take a shortcut instead of translating it in C++. I've tried MATLAB Coder, but it can't convert those MATLAB functions. So I tried another tool: MATLAB Compiler. Unfortunately, some errors block me going further. I posted a question here:
However, the problem hasn't been resolved yet. I'm appreciated it if you can answer my question in stackoverflow or here, but I'm more eager to know whether it is an efficient way to convert my MATLAB program to C++ by using MATLAB Compiler like what I've done? Are there any better ways to finish my task? Please give me any guide or advice to help.
1 个评论
Kaustubha Govind
2013-6-17
编辑:Kaustubha Govind
2013-6-17
It looks like you may not have configured your project correctly. Please try using the mbuild command as described in href = ">http://www.mathworks.com/help/compiler/c-shared-library-target.html#f2-1000836">this example</a first to see if you are able to compile your driver application.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB Coder 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!