Deep Learning Code Generation from Simulink Applications - MATLAB & Simulink (original) (raw)
Main Content
Generate C/C++ and GPU code for deployment on desktop or embedded targets
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.
Model Settings
Simulation Acceleration
Model Configuration Parameters: Simulation Target (Simulink) |
---|
Model Configuration Parameters: GPU Acceleration (GPU Coder) |
General Code Configuration
GPU Code Configuration
Model Configuration Parameters: Code Generation (GPU Coder) |
---|
Model Configuration Parameters: GPU Code (GPU Coder) |
Model Configuration Parameters: Code Generation Identifiers (GPU Coder) |
Topics
- GPU Code Generation for Deep Learning Networks Using MATLAB Function Block (GPU Coder)
Simulate and generate code for deep learning models in Simulink using MATLAB function blocks. - GPU Code Generation for Blocks from the Deep Neural Networks Library (GPU Coder)
Simulate and generate code for deep learning models in Simulink using library blocks. - Code Generation for a Deep Learning Simulink Model That Performs Lane and Vehicle Detection (GPU Coder)
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 Generic C/C++ for Sequence-to-Sequence Deep Learning Simulink Models (Simulink Coder)
Generate C/C++ code for a sequence-to-sequence deep learning Simulink model. - Generate Generic C Code Using The Stateful Predict Block in Simulink (Embedded Coder)
This example shows how to generate generic C code using the Stateful Predict block and the SIL workflow. (Since R2024a)
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
Belgium (English)
Denmark (English)
Deutschland (Deutsch)
España (Español)
Finland (English)
France (Français)
Ireland (English)
Italia (Italiano)
Luxembourg (English)
Netherlands (English)
Norway (English)
Österreich (Deutsch)
Portugal (English)
Sweden (English)
Switzerland
United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)