MATLAB Coder

Cell Array Support

Cell Array Support

Generate C code from MATLAB code that uses cell arrays

Faster MEX Functions for Linear Algebra

Faster MEX Functions for Linear Algebra

Generate MEX functions that take advantage of LAPACK

Double-Precision to Single-Precision Conversion

Double-Precision to Single-Precision Conversion

Convert double-precision MATLAB code to single-precision C code

Run-Time Checks in Standalone C Code

Run-Time Checks in Standalone C Code

Detect and report run-time errors while testing generated standalone libraries and executables​

Multicore Capable Functions

Multicore Capable Functions

Generate OpenMP-enabled C code from more than twenty MATLAB mathematics functions

Image Processing Toolbox and Computer Vision System Toolbox code generation

Image Processing Toolbox and Computer Vision System Toolbox code generation

Generate code for additional functions in these toolboxes

Statistics and Machine Learning Toolbox Code Generation

Statistics and Machine Learning Toolbox Code Generation

Generate code for kmeans and randsample

Latest Releases

R2015b (Version 3.0) - 3 Sep 2015

Version 3.0, part of Release 2015b, includes the following enhancements:

  • Cell Array Support: Generate C code from MATLAB code that uses cell arrays
  • Faster MEX Functions for Linear Algebra: Generate MEX functions that take advantage of LAPACK
  • Double-Precision to Single-Precision Conversion: Convert double-precision MATLAB code to single-precision C code
  • Run-Time Checks in Standalone C Code: Detect and report run-time errors while testing generated standalone libraries and executables
  • Multicore Capable Functions: Generate OpenMP-enabled C code from more than twenty MATLAB mathematics functions
  • Image Processing Toolbox and Computer Vision System Toolbox code generation: Generate code for additional functions in these toolboxes
  • Statistics and Machine Learning Toolbox Code Generation: Generate code for kmeans and randsample

See the Release Notes for details.

R2015a (Version 2.8) - 5 Mar 2015

See highlights and screen shots.

Version 2.8, part of Release 2015a, includes the following enhancements:

  • Improved MATLAB Coder app with integrated editor and simplified workflow
  • Generation of example C/C++ main for integration of generated code into an application
  • Better preservation of MATLAB variable names in generated code
  • More efficient generated code for logical indexing
  • Code generation for additional Image Processing Toolbox and Computer Vision System Toolbox functions

See the Release Notes for details.

R2014b (Version 2.7) - 2 Oct 2014

See highlights and screen shots.

Version 2.7, part of Release 2014b, includes the following enhancements:

  • Code generation for additional Image Processing Toolbox and Computer Vision System Toolbox functions
  • Code generation for additional Communications System Toolbox and DSP System Toolbox functions and System objects
  • Code generation for enumerated types based on built-in MATLAB integer types
  • Code generation for function handles in structures

See the Release Notes for details.

R2014a (Version 2.6) - 6 Mar 2014

See highlights and screen shots.

Version 2.6, part of Release 2014a, includes the following enhancements:

  • Code generation for additional Image Processing Toolbox and Computer Vision System Toolbox functions
  • Code generation for additional Signal Processing Toolbox, Communications System Toolbox, and DSP System Toolbox functions and System objects
  • Code generation for fminsearch optimization function and additional interpolation functions in MATLAB
  • Conversion from project to MATLAB script for command-line code generation
  • Code generation for fread function

See the Release Notes for details.

R2013b (Version 2.5) - 5 Sep 2013

See highlights and screen shots.

Version 2.5, part of Release 2013b, includes the following enhancements:

  • Code generation for Statistics Toolbox and Phased Array System Toolbox
  • parfor function for standalone code generation, enabling execution on multiple cores
  • External code integration using coder.ExternalDependency
  • Generation of simplified code using built-in C types
  • Conversion of MATLAB expressions into C constants using coder.const

See the Release Notes for details.