MATLAB for Deep Learning

Data preparation, design, simulation, and deployment for deep neural networks

With just a few lines of MATLAB® code, you can apply deep learning techniques to your work whether you’re designing algorithms, preparing and labeling data, or generating code and deploying to embedded systems.

With MATLAB, you can:

  • Create, modify, and analyze deep learning architectures using apps and visualization tools.

  • Preprocess data and automate ground-truth labeling of image, video, and audio data using apps.

  • Accelerate algorithms on NVIDIA® GPUs, cloud, and datacenter resources without specialized programming.

  • Collaborate with peers using frameworks like TensorFlow, PyTorch, and MxNet.

  • Simulate and train dynamic system behavior with reinforcement learning.

  • Generate simulation-based training and test data from MATLAB and Simulink® models of physical systems.

Top 5 Reasons to Use MATLAB for Deep Learning




Operational Your AI

See How Others Use MATLAB for Deep Learning

SHELL Uses semantic segmentation for terrain recognition in hyperspectral satellite data.


Autoliv Labels LIDAR for verification of a radar-based automated driving system.

Ritsumeikan University
Ritsumeikan University

Ritsumeikan University Trains convolutional neural networks on CT images to reduce radiation exposure risk


SHELL Uses semantic segmentation for terrain recognition in hyperspectral satellite data.


Prepare and Label Image, Time-Series, and Text Data

MATLAB significantly reduces the time required to preprocess and label datasets with domain-specific apps for audio, video, images, and text data. Synchronize disparate time series, replace outliers with interpolated values, deblur images, and filter noisy signals. Use interactive apps to label, crop, and identify important features, and built-in algorithms to help automate the process of labeling.



Get Started

  • Video Labeler App 

  • Image Labeler App 

  • Ground Truth Labeler App 

  • Audio Labeler App

  • Deep Network Designer App


Try Advanced Techniques

  • Speech Recognition Using CNN 

  • Semantic Segmentation and Detection

  • Image Processing 

  • Feature Extraction 

  • Preprocess Images 

Design, Train, and Evaluate Models

Start with a complete set of algorithms and prebuilt models, then create and modify deep learning models using the Deep Network Designer app. Incorporate deep learning models for domain-specific problems without having to create complex network architectures from scratch.

Use techniques to find the optimal network hyperparameters and Parallel Computing Toolbox™ and high-performance NVIDIA GPUs to accelerate these computationally intensive algorithms. Use visualization tools in MATLAB and techniques like Grad-CAM and occlusion sensitivity to gain insights into your model.

Get Started

Try Advanced Techniques


Simulate and Generate Synthetic Data

Data for accurate models is critical, and MATLAB can generate more data when you don’t have enough of the right scenarios. For example, use synthetic images from gaming engines, such as Unreal Engine®, to incorporate more edge cases. Use generative adversarial networks (GANs) to create custom simulated images.

Test algorithms before data is available from sensors by generating synthetic data from Simulink, an approach commonly used in automated driving systems.


Get Started


Try Advanced Techniques


Integrate with Python-Based Frameworks

It’s not an either/or choice between MATLAB and open source frameworks. MATLAB allows you to access the latest research from anywhere using ONNX import capabilities, and you can also use a library of prebuilt models, including NASNet, SqueezeNet, Inception-v3, and ResNet-101, to get started quickly. The ability to call Python from MATLAB and MATLAB from Python allows you to easily collaborate with colleagues that are using open source.



Get Started


Try Advanced Techniques


Deploy Trained Networks

Deploy your trained model on embedded systems, enterprise systems, or the cloud. MATLAB supports automatic CUDA® code generation for the trained network as well as for preprocessing and postprocessing to specifically target the latest NVIDIA GPUs, including Jetson Xavier and Nano.

When performance matters, you can generate code that leverages optimized libraries from Intel® (MKL-DNN), NVIDIA (TensorRT, cuDNN), and ARM® (ARM Compute Library) to create deployable models with high-performance inference speed.

Get Started


Try Advanced Techniques

Related Resources

Practical Deep Learning Examples with MATLAB

Automated Optical Inspection with Deep Learning

Deep Learning for Signal Processing with MATLAB

Data and Modeling in AI-Powered Signal Processing Applications


Machine Learning Onramp

An interactive introduction to practical machine learning methods for classification problems.

Explore Getting Started Resources

Watch a demonstration, explore interactive examples, and access free tutorials.

Have Questions About Using MATLAB for Deep  Learning

30 Days of Exploration at Your Fingertips