Hardware Support

Deep Learning Support from MATLAB Coder

Capabilities and Features

MATLAB Coder™ generates C and C++ code from MATLAB® code for a variety of hardware platforms, from desktop systems to embedded hardware. It supports most of the MATLAB language and a wide range of toolboxes. You can integrate the generated code into your projects as source code, static libraries, or dynamic libraries. The generated code is readable and portable.

MATLAB Coder Interface for Deep Learning Libraries provides the ability to customize the generated code from deep learning algorithms by leveraging target specific acceleration libraries on the embedded target. With this support package, you can integrate with libraries optimized for specific CPU targets for deep learning such as the ARM® Compute Library for ARM architectures.

MATLAB Coder™ Interface for Deep Learning integrates with the following deep learning accelerator libraries and the corresponding CPU architectures:

  • Intel® Math Kernel Library for Deep Neural Networks (MKL-DNN) for Intel CPUs that support AVX2
    • The generated code leverages the Intel MKL-DNN library, which is an open source performance library for deep learning applications, providing vectorized and threaded building blocks optimized for Intel architectures.
  • ARM Compute library for ARM Cortex® A family of processors that support NEON™ instructions
    • The generated code leverages the ARM compute library, which is a collection of low-level software functions optimized for certain ARM architectures, targeting image processing, computer vision, and machine learning applications.

Platform and Release Support

Available on 64-bit Microsoft and 64-bit Ubuntu only. 

See the hardware support package system requirements table for current and prior version, release, and platform availability.


Related Hardware Support Views: Aerospace and Defense, ARM, Automotive, Computer Electronics, Consumer Electronics, C ∕ C++ Code Generation, Digital Signal Processing, Embedded Systems, Intel, MathWorks Supported, MATLAB Coder, MATLAB Product Family, Support Package Installer Enabled

Ready to install?

Before installing the support package, confirm you have the correct setup. View system requirements and installation options.

Get support package

Support Package


Support Package Installer installs this support package and all required third-party software. To start the installer, go to the MATLAB toolstrip and click Add-Ons > Get Hardware Support Packages. For more information, read the documentation.

Don't see the hardware you're looking for?