Deployment

Deploy MATLAB® algorithms as a standalone executable on the hardware

The GPU Coder™ Support Package for NVIDIA® GPUs enables you to deploy your MATLAB function on the hardware. The function is deployed as a standalone executable that continues to run even if the hardware live connection is disconnected from the host computer.

Functions

expand all

jetsonCreate connection to NVIDIA Jetson hardware
driveCreate connection to NVIDIA DRIVE hardware
webcamCreate webcam object to acquire images from a webcam attached to the NVIDIA DRIVE or Jetson hardware
snapshotCapture RGB image from Camera
imageDisplay image
imageDisplayCreate imageDisplay object for displaying images on NVIDIA DRIVE or Jetson targets
updatePeripheralInfoScan for and update the list of peripherals connected to the target hardware
getFileTransfer file from NVIDIA hardware to host computer
putFileTransfer file from host computer to target hardware
deleteFileDelete file on target hardware
openShellOpen terminal on host computer to use Linux shell on NVIDIA hardware
systemRun command in Linux shell on NVIDIA hardware
getL4TVersionGet the L4T version of the NVIDIA Jetson hardware
getPdkorSdkVersionGet the current DriveWorks SDK installed on the DRIVE hardware
getDisplayEnvironmentGet the display environment value used for redirecting the display on the target
setDisplayEnvironmentSet the display environment value used for redirecting the display on the target
setupCodegenContextSelect the target hardware to build code for from multiple live connection objects
getLinuxVersionGet information about the Linux environment on the target
killApplicationKill an application on the NVIDIA target by name
killProcessKill a process on the NVIDIA target by ID
runApplicationLaunch an application on the NVIDIA target by name
runExecutableLaunch an executable on the NVIDIA target by name
setPILTimeoutSet the timeout value that PIL uses for reading data
setPILPortSet the TCP/IP port number used by the PIL execution
getPILTimeoutGet the timeout value that PIL uses for reading data
getPILPortGet the TCP/IP port number used by the PIL execution

Objects

jetsonConnection to NVIDIA Jetson hardware
driveConnection to NVIDIA DRIVE hardware
webcamConnection to web camera
imageDisplayNVIDIA display object

Topics

Build and Run an Executable on NVIDIA Hardware

Build and run an executable on NVIDIA hardware.

Build and Run an Executable on NVIDIA Hardware Using GPU Coder App

Use GPU Coder app to build and run an executable on NVIDIA hardware.

Read Video Files on NVIDIA Hardware

Generate CUDA code for reading video files on the NVIDIA target by using the videoReader function.

Stop or Restart an Executable Running on NVIDIA Hardware

Stop or restart an executable running on the hardware.

Processor-In-The-Loop Execution from Command Line

Use PIL execution to verify the numerical behavior of the generated code at the MATLAB command line.

Processor-In-The-Loop Execution with the GPU Coder App

Use the GPU Coder app to verify the numerical behavior of the generated code.

Execution-Time Profiling for PIL

Why measure execution times for code generated from entry-point functions.

Featured Examples