Develop MATLAB Code to Deploy to NVIDIA Jetson
R2026bIn this example, you prepare MATLAB® code that implements a Sobel edge detection algorithm for standalone deployment to an NVIDIA® Jetson™ board. The algorithm uses the webcam connected to the Jetson hardware to take snapshots and displays an edge-detected image.
Before connecting from MATLAB to the Jetson hardware, you must install the required software on the hardware board. See Prerequisites for Generating Code for NVIDIA Boards. Additionally, to run this example, you must:
Connect the Jetson platform to the host PC by using an ethernet crossover cable. If you connect the board to a local network, a cable is not required.
Connect a web camera to the USB or CSI port of the hardware board.
Install audio and video libraries on the hardware board. To install the libraries, see Hardware Setup.
In this example, you:
Create MATLAB Function That Detects Edges Using Inputs From NVIDIA Jetson: Run the code in MATLAB with data acquired by the NVIDIA Jetson board.
Prepare Edge Detection Code for Deployment to NVIDIA Jetson: Prepare the MATLAB function that implements the edge detection algorithm for code generation.
Deploy and Run Sobel Edge Detection on NVIDIA Jetson: Generate code and deploy the standalone Sobel edge detection application to the hardware board.