Several Computer Vision System Toolbox™ functions can generate C/C++ code. To generate C/C++ code from MATLAB® code that contains Computer Vision System Toolbox functions, classes, or System objects, you must have a MATLAB Coder™ license. In general, the code you generate from Computer Vision System Toolbox blocks is portable ANSI® C code. After you generate the code, you can deploy it on another machine.
For a list of usage notes and limitations using the supported functions, classes, and System objects, refer to the Code Generation Support, Usage Notes, and Limitations table.
This example shows how to use the MATLAB® Coder™ to generate C code for a MATLAB function, which uses the
stereoParameters object produced by Stereo Camera Calibrator app or the
This example shows how to use the MATLAB® Coder™ to generate C code for a MATLAB file.
This example shows how to generate code from Face Detection and Tracking Using the KLT Algorithm example with packNGo function.
Special considerations for using System objects in code generated from