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.

C Code Generation

Generate C/C++ code and MEX functions for toolbox functions, classes, System objects, and blocks

Several Computer Vision Toolbox™ functions can generate C/C++ code. To generate C/C++ code from MATLAB® code that contains Computer Vision Toolbox functions, classes, or System objects, you must have a MATLAB Coder™ license. In general, the code you generate from Computer Vision 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.


Code Generation for Depth Estimation From Stereo Video

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 estimateCameraParameters function.

Introduction to Code Generation with Feature Matching and Registration

This example shows how to use the MATLAB® Coder™ to generate C code for a MATLAB file.

Code Generation for Face Tracking with PackNGo

This example shows how to generate code from Face Detection and Tracking Using the KLT Algorithm example with packNGo function.

Multicore Simulation of Video Processing System

This example shows how a Video Processing system that implements counting of objects in input video.