This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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 Professional or Visual Studio 2017
Linux® 64 bitgcc-4.9.3 (g++)
Mac 64 bitXcode 6.2.0 (Clang++)


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