Deployment
You can use GPU Coder™ with the MATLAB® Coder™ Support Package for NVIDIA Jetson™ and NVIDIA DRIVE® Platforms to deploy your MATLAB algorithms on embedded NVIDIA GPUs. Specifically, you can target the NVIDIA Jetson and DRIVE family of boards on either Windows® or Linux® systems. The support package enables you to remotely communicate with the NVIDIA target and control the peripheral devices for prototyping. The MATLAB entry-point function is deployed as a standalone executable that continues to run even if the hardware live connection is disconnected from the host computer.
To install this support package, use the Add-On Explorer in MATLAB. For information on the supported development platforms, see Install and Setup Prerequisites for NVIDIA Boards.
Note
Starting in R2021a, the GPU Coder Support Package for NVIDIA GPUs is named MATLAB Coder Support Package for NVIDIA Jetson and NVIDIA DRIVE Platforms. To use this support package in R2021a, you must have the MATLAB Coder product.
Functions
Objects
coder.hardware | Create hardware board configuration object for C/C++ code generation from MATLAB code |
jetson | Connection to NVIDIA Jetson hardware |
drive | Connection to NVIDIA DRIVE hardware |
Topics
MATLAB
- Build and Run an Executable on NVIDIA Hardware
Targeting embedded NVIDIA boards from the MATLAB command line. - Build and Run an Executable on NVIDIA Hardware Using GPU Coder App
Targeting embedded NVIDIA boards by using the GPU Coder app. - Relocate Generated Code to Another Development Environment
Package generated files into a compressed file that you can relocate and unpack with a standard zip utility. - GPU Profiling on NVIDIA Jetson Platforms
Analyze and optimize the performance of the generated CUDA® code on the Jetson platform.
Simulink
- Targeting NVIDIA Embedded Boards
Build and deploy to NVIDIA GPU boards. - Numerical Equivalence Testing
Compare results from model and generated code simulations. - Parameter Tuning and Signal Monitoring by Using External Mode
Tune parameters and monitor signals through a TCP/IP communication channel between development computer and target hardware. - Generate CUDA ROS Node from Simulink (ROS Toolbox)
Configure Simulink® Coder to generate and build a CUDA ROS node from a Simulink model. - Lane and Vehicle Detection in ROS Using YOLO v2 Deep Learning Algorithm (ROS Toolbox)
Use deep convolutional neural networks inside a ROS enabled Simulink model to perform lane and vehicle detection. - Sign Following Robot Using YOLOv2 Detection Algorithm with ROS in Simulink (ROS Toolbox)
Use Simulink to control a simulated robot running on a separate ROS-based simulator and generate CUDA-optimized code for the ROS node, from the Simulink model, and deploy it to the localhost device.
Build Process Management
- Configure CMake Build Process
Specify CMake toolchain definition for building generated code.