MATLAB to OpenCV conversion

is there any possibility to convert MATLAB files (.m files) to python script/ cpp to compile it in opencv?

4 Comments

You would need Matlab Coder to convert to cpp code.
thanks Adam. But, can I generate a standalone cpp or python code with Matlab Coder?
You can generate C++ code that you can then do what you want with - either use it via mex back in Matlab or embed it into some other C++ program. I'm not sure exactly what you mean by 'standalone'. As far as I am aware Coder code will not produce a main() function in C++.
You can use the Matlab compiler to produce executables or dlls too if you wish.
thank you very much.

Sign in to comment.

Answers (0)

Asked:

on 5 Apr 2017

Commented:

on 11 Apr 2017

Community Treasure Hunt

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

Start Hunting!