Main Content

Portable C Code Generation for Functions That Use OpenCV Library

The generated binary uses prebuilt OpenCV libraries that ship with the Computer Vision Toolbox™ product. Your compiler must be compatible with the one used to build the libraries. The following compilers are used to build the OpenCV libraries for MATLAB® host:

Operating System Compatible Compiler
Windows® 64 bitMicrosoft® Visual Studio® 2015 or later (Professional or Community editions)
Linux® 64 bitgcc-4.9.3 (g++)
Mac 64 bitXcode 6.2.0 (Clang++)

Limitations

Computer Vision Toolbox functions that use the OpenCV library do not support target code generation from Simulink®.