Deep Learning Code Generation from Simulink Applications
Generate code for pretrained deep neural networks. You can accelerate the simulation of your algorithms in Simulink® by using different execution environments. By using support packages, you can also generate and deploy C/C++ and CUDA® code on target hardware.
Simulink Configuration Parameters
General Code Configuration
GPU Code Configuration
Simulate and generate code for deep learning models in Simulink using MATLAB function blocks.
Simulate and generate code for deep learning models in Simulink using library blocks.
This example shows how to develop a CUDA® application from a Simulink® model that performs lane and vehicle detection using convolutional neural networks (CNN).
Generate C/C++ code for a sequence-to-sequence deep learning Simulink model.