- Wait for future release where imresize, imfilter etc are supported for code generation. More functions are supported for code generation with each release (you can also consider contacting MathWorks tech support and explicitly requesting that the functions you need be supported. Development team would be happy to hear that, as it helps them to set right priorities).
- Implement suitable versions of those functions yourself (either directly in C/C++, or in codegenable subset of MATLAB language). Presumably you don't need imresize and imfilter in full, just some concrete cases. Is there a freeware C library that you can call to, using coder.ceval?
- Reconsider the need for C/C++. For instance, many people who want to deploy their code can use MATLAB Compiler instead.
How to convert matlab code to c/c++ code?
3 views (last 30 days)
Denis Gurchenkov on 9 Apr 2015
I'm not aware of any other tool or product that converts MATLAB code to C/C++, other than MATLAB Coder. Your options are:
I know this sounds harsh, I'd be happy if someone could offer a more comforting alternative.