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 bit||Microsoft® Visual Studio® 2015 or later (Professional or Community editions)|
|Linux® 64 bit||gcc-4.9.3 (g++)|
|Mac 64 bit||Xcode 6.2.0 (Clang++)|
Computer Vision Toolbox functions that use the OpenCV library do not support target code generation from Simulink®.