Main Content

Get Started with Deep Learning Toolbox

Design, train, analyze, and simulate deep learning networks

Deep Learning Toolbox™ provides functions, apps, and Simulink® blocks for designing, implementing, and simulating deep neural networks. The toolbox provides a framework to create and use many types of networks, such as convolutional neural networks (CNNs) and transformers. You can visualize and interpret network predictions, verify network properties, and compress networks with quantization, projection, or pruning.

With the Deep Network Designer app, you can design, edit, and analyze networks interactively, import pretrained models, and export networks to Simulink. The toolbox lets you interoperate with other deep learning frameworks. You can import PyTorch®, TensorFlow™, and ONNX™ models for inference, transfer learning, simulation, and deployment. You can also export models to TensorFlow and ONNX.

You can automatically generate C/C++, CUDA® and HDL code for trained networks.

Tutorials

Featured Examples

Interactive Learning

Go to the The Deep Learning Onramp.

Deep Learning Onramp
This free, two-hour deep learning tutorial provides an interactive introduction to practical deep learning methods. You will learn to use deep learning techniques in MATLAB® for image recognition.

Videos

Go to a the Interactively Modify a Deep Learning Network for Transfer Learning video.

Interactively Modify a Deep Learning Network for Transfer Learning
Deep Network Designer is a point-and-click tool for creating or modifying deep neural networks. This video shows how to use the app in a transfer learning workflow. It demonstrates the ease with which you can use the tool to modify the last few layers in the imported network as opposed to modifying the layers in the command line. You can check the modified architecture for errors in connections and property assignments using a network analyzer.

Go to the Deep Learning in 11 Lines of MATLAB Code video.

Deep Learning with MATLAB: Deep Learning in 11 Lines of MATLAB Code
See how to use MATLAB, a simple webcam, and a deep neural network to identify objects in your surroundings.

Go to the Transfer Learning in 10 Lines of MATLAB Code video.

Deep Learning with MATLAB: Transfer Learning in 10 Lines of MATLAB Code
Learn how to use transfer learning in MATLAB to re-train deep learning networks created by experts for your own data or task.