모델링
하드웨어 연결을 위해 Simulink 모델을 준비하고 NVIDIA 하드웨어 지원을 위해 블록을 추가합니다.
블록
| ALSA Audio Capture | ALSA를 사용하여 사운드 카드에서 오디오 캡처 |
| ALSA Audio Playback | Send audio to sound card for playback using ALSA |
| Audio File Read | Read audio frames from an audio file |
| Camera | Capture video from a USB or CSI camera connected to the NVIDIA target |
| Network Video Receive | Receive video from a network RTP or IP camera RTSP stream (R2021b 이후) |
| SDL Video Display | Display video on a monitor connected to the NVIDIA target |
| Video Read | Read video frames from multimedia file on NVIDIA target (R2024a 이후) |
| Video Send | Send video stream to remote hardware (R2023b 이후) |
| GPIO Read | Read logical state of an input pin (R2021b 이후) |
| GPIO Write | Set logical state of an output pin (R2021b 이후) |
| CAN Receive | Receive messages from the controller area network (CAN) bus (R2021b 이후) |
| CAN Transmit | Transmit messages on the controller area network (CAN) bus (R2021b 이후) |
| Serial Read | Read data from serial port |
| Serial Write | Write data to serial port |
| SPI Register Write | Write to register of SPI device connected to NVIDIA Jetson board (R2026a 이후) |
| SPI Register Read | Read from register of SPI device connected to NVIDIA Jetson board (R2026a 이후) |
| SPI Controller Transfer | Write to and read from SPI device connected to NVIDIA Jetson board (R2026a 이후) |
| MQTT Publish | Publish messages to MQTT broker on specified topic (R2023a 이후) |
| MQTT Subscribe | Receive messages from the MQTT broker for specified topic (R2023a 이후) |
| Modbus TCP/IP Client Read | Client device reads data from server device register(s) over TCP/IP network (R2022a 이후) |
| Modbus TCP/IP Client Write | Client device writes data to server device register(s) over TCP/IP network (R2022a 이후) |
| Modbus TCP/IP Server Read | Server device reads data from server device register over TCP/IP network (R2022a 이후) |
| Modbus TCP/IP Server Write | Server device writes data to server device register over TCP/IP network (R2022a 이후) |
| TCP/IP Receive | 원격 호스트로부터 TCP/IP 네트워크를 통해 데이터 수신 |
| TCP/IP Send | 다른 원격 호스트에 TCP/IP 네트워크를 통해 데이터 전송 |
| UDP Receive | Receive UDP packets from UDP host |
| UDP Send | Send UDP packets to UDP host |
모델 설정
운영 체제/스케줄러
| Base Rate Task Priority | Static priority of model base rate task |
| Detect task overruns | Detection of task overruns in Simulink model running on target hardware |
보드 파라미터
| Device Address | IP address of hardware board on network |
| Username | Username for Linux operating system on hardware board |
| Password | Password for Linux username on hardware board |
빌드 옵션
| Build action | Define how Simulink responds when building models |
| Build directory | Directory in which to build code generated from Simulink models |
| Display | Display to use on NVIDIA board |
CAN
| CAN Bus Speed (kBit/s) | CAN bus speed in kilobits per second (R2021b 이후) |
| Allow All Messages | Allow all CAN messages through acceptance filter (R2021b 이후) |
| ID Type 1 | CAN message frame format for filter 1 (R2021b 이후) |
| Acceptance Mask 1 | Acceptance mask value for filter 1 (R2021b 이후) |
| Acceptance Filter 1 | Acceptance filter value for filter 1 (R2021b 이후) |
| Inverse Filter 1 | Inverse criterion to pass messages for filter 1 (R2021b 이후) |
| ID Type 2 | CAN message frame format for filter 2 (R2021b 이후) |
| Acceptance Mask 2 | Acceptance mask value for filter 2 (R2021b 이후) |
| Acceptance Filter 2 | Acceptance filter value for filter 2 (R2021b 이후) |
| Inverse Filter 2 | Inverse criterion to pass messages for filter 2 (R2021b 이후) |
| ID Type 3 | CAN message frame format for filter 3 (R2021b 이후) |
| Acceptance Mask 3 | Acceptance mask value for filter 3 (R2021b 이후) |
| Acceptance Filter 3 | Acceptance filter value for filter 3 (R2021b 이후) |
| Inverse Filter 3 | Inverse criterion to pass messages for filter 3 (R2021b 이후) |
| ID Type 4 | CAN message frame format for filter 4 (R2021b 이후) |
| Acceptance Mask 4 | Acceptance mask value for filter 4 (R2021b 이후) |
| Acceptance Filter 4 | Acceptance filter value for filter 4 (R2021b 이후) |
| Inverse Filter 4 | Inverse criterion to pass messages for filter 4 (R2021b 이후) |
SPI
| SPI0 CS0 Bus Speed (kHz) | Bus speed for NVIDIA Jetson SPI0 chip select 0 (R2026a 이후) |
| SPI0 CS1 Bus Speed (kHz) | Bus speed for NVIDIA Jetson SPI0 chip select 1 (R2026a 이후) |
| SPI1 CS0 Bus Speed (kHz) | Bus speed for NVIDIA Jetson SPI1 chip select 0 (R2026a 이후) |
| SPI1 CS1 Bus Speed (kHz) | Bus speed for NVIDIA Jetson SPI1 chip select 1 (R2026a 이후) |
외부 모드
| Communication interface | Transport layer for external mode to exchange data between development computer and hardware |
| Run external mode in a background thread | Force external mode engine in generated code to execute in background task |
| Logging buffer size (in bytes) | Buffer size for logging data in Universal Measurement and Calibration Protocol (XCP)-based external mode |
| Port | Port number on hardware board |
| Verbose | Enable view of external mode execution progress and updates in Diagnostic Viewer |
Modbus 속성
| Communication Interface | Type of communication interface that blocks use for Modbus communication (R2022a 이후) |
| Mode | Modbus mode of operation (R2022a 이후) |
| Remote Server IP port number | IP port number of Modbus client device on TCP/IP network (R2022a 이후) |
| Local IP port number | IP port number of Modbus server devices on TCP/IP network (R2022a 이후) |
| Configure Coils | Configure coil register parameters (R2022a 이후) |
| Configure Discrete Inputs | Configure discrete input register parameters (R2022a 이후) |
| Configure Holding registers | Configure holding register parameters (R2022a 이후) |
| Configure Input registers | Configure input register parameters (R2022a 이후) |
| Received timeout (ms) | Maximum time client waits for response from Modbus server (R2022a 이후) |
MQTT
| Encryption Type | Encryption protocol to use for MQTT communication (R2023b 이후) |
| Broker Address | Address of MQTT broker (R2023a 이후) |
| Port | TCP/IP port to use for MQTT connection (R2023b 이후) |
| CA Server Certificate Path | Name and location of file containing root certificates (R2023b 이후) |
| Username | Username for MQTT broker (R2023a 이후) |
| Password | Password for MQTT broker (R2023a 이후) |
| Client ID | Unique identifier for client connected to MQTT broker (R2023a 이후) |
도움말 항목
- Model Configuration Parameters for NVIDIA Hardware Board
Parameter and configuration options for creating and running applications on an NVIDIA hardware board.
- Open Block Library for NVIDIA Hardware
Locate Simulink block library for NVIDIA hardware.
- GPU Coder를 사용하여 시뮬레이션 속도 가속화하기 (GPU Coder)
MATLAB Function 블록이 포함된 모델을 더 빠르게 시뮬레이션합니다.
- Code Generation from Simulink Models with GPU Coder (GPU Coder)
Generate CUDA® code from Simulink models by using GPU Coder™.
- 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.
- Jetson과 USB-직렬 컨버터를 연결하고 사용하기
NVIDIA Jetson™ 보드에 USB-직렬 컨버터를 연결합니다.
- NVIDIA Jetson 보드에 대한 직렬 포트 매핑
NVIDIA Jetson 보드의 직렬 포트에 대한 포트 이름을 식별합니다.
- Read and Write Data over Serial Port on NVIDIA Jetson Platforms
This example shows how to use MATLAB® Coder™ Support Package for NVIDIA® Jetson® and NVIDIA DRIVE® to read and write serial data over the UART port on a Jetson board.
- Introduction to MQTT
Basics of the MQTT messaging protocol.
추천 예제
Capture and Stitch Together Images from Multiple Cameras on NVIDIA Jetson
Capture video from two cameras on an NVIDIA Jetson to create a composite image.
Deploy and Classify Webcam Images on NVIDIA Jetson Platform from Simulink
Deploy a Simulink® model on the NVIDIA® Jetson™ board for classifying webcam images. This example classifies images from a webcam in real-time by using the pretrained deep convolutional neural network, ResNet-50. The Simulink model in the example uses the camera and display blocks from the MATLAB® Coder™ Support Package for NVIDIA Jetson and NVIDIA DRIVE™ Platforms to capture the live video stream from a webcam and display the prediction results on a monitor connected to the Jetson platform.
Code Generation for a Deep Learning Simulink Model to Classify ECG Signals
Demonstrates how you can use powerful signal processing techniques and Convolutional Neural Networks together to classify ECG signals. We will also showcase how CUDA® code can be generated from the Simulink® model. This example uses the pretrained CNN network from the Classify Time Series Using Wavelet Analysis and Deep Learning example of the Wavelet Toolbox™ to classify ECG signals based on images from the CWT of the time series data. For information on training, see 웨이블릿 분석 및 딥러닝을 사용하여 시계열 분류하기 (Wavelet Toolbox).
(GPU Coder)
Code Generation for a Deep Learning Simulink Model That Performs Lane and Vehicle Detection
Develop a CUDA® application from a Simulink® model that performs lane and vehicle detection using convolutional neural networks (CNN). This example takes the frames of a traffic video as an input, outputs two lane boundaries that correspond to the left and right lanes of the ego vehicle, and detects vehicles in the frame. This example uses the pretrained lane detection network from the Lane Detection Optimized with GPU Coder example of the GPU Coder™ product. For more information, see Lane Detection Optimized with GPU Coder (GPU Coder). This example also uses the pretrained vehicle detection network from the Object Detection Using YOLO v2 Deep Learning example of the Computer Vision Toolbox™. For more information, see YOLO v2 딥러닝을 사용한 객체 검출 (Computer Vision Toolbox).
(GPU Coder)
Deploy Signal Classifier on NVIDIA Jetson Using Wavelet Analysis and Deep Learning
Generate and deploy a CUDA® executable that classifies human electrocardiogram (ECG) signals using features extracted by the continuous wavelet transform (CWT) and a pretrained convolutional neural network (CNN).
(GPU Coder)
CAN Bus Communication on NVIDIA Jetson TX2 in Simulink
Deploy a Simulink® model that uses CAN communication for a deep learning application. The Simulink model in this example uses the CAN Transmit and CAN Receive blocks from the MATLAB® Coder™ Support Package for NVIDIA® Jetson® and NVIDIA DRIVE® Platforms to model a CAN bus system on the Jetson TX2 platform. The model uses the CAN bus to transmit the recognized traffic sign objects in a video frame from one CAN node to another CAN node.
Stream Images from NVIDIA Jetson Xavier NX Using Robot Operating System (ROS)
Stream images captured from a webcam on NVIDIA® Jetson™ Xavier NX board to the host computer using ROS communication interface.
Send and Receive Data over UDP on NVIDIA Jetson Platforms
Use MATLAB® Coder™ Support Package for NVIDIA® Jetson® and NVIDIA DRIVE® to send and receive UDP data over the network on a Jetson board.
Send and Receive MAVLink Packets on Jetson Boards
Use MATLAB® Coder™ Support Package for NVIDIA® Jetson® and NVIDIA DRIVE® to send and receive MAVLink packets on a Jetson board via serial from a Pixhawk® board.
Onboard Computer Path Planning Interface for PX4 SITL Deployable on NVIDIA Jetson
Demonstrates enabling and interfacing onboard computer path planning with PX4® Software-in-the-Loop (SITL).
Stream Camera, Depth and Semantic Segmentation Data from Unreal Engine to NVIDIA Jetson
Stream simulated camera, depth, and semantic segmentation label data from an Unreal Engine® scene to NVIDIA® Jetson™ hardware using the Video Send block in Simulink®. It then shows how to visualize incoming data streams on a monitor connected to the Jetson platform, by deploying separate models for each incoming data stream. The deployed models contain the Network Video Receive and SDL Video Display blocks from the MATLAB® Coder™ Support Package for NVIDIA Jetson and NVIDIA DRIVE® Platforms.
MODBUS TCP/IP Communication Between Client and Server Devices Using NVIDIA Jetson TX2 Hardware
Use the MATLAB® Coder™ Support Package for NVIDIA® Jetson® and NVIDIA DRIVE® Platforms to implement MODBUS® TCP/IP communication between MODBUS client and server devices. It also shows how to communicate between the two devices in four modes of operation, Client Read, Client Write, Server Read, and Server Write.
Deep Learning Vehicle Detector from IP Camera Stream on Jetson
Develop a CUDA® application from a Simulink® model that performs vehicle detection using convolutional neural networks (CNN). This example takes the IP camera stream as an input and detects vehicles in the frame. This example uses the pretrained vehicle detection network from the Object Detection Using YOLO v2 Deep Learning example of the Computer Vision Toolbox™. For more information, see YOLO v2 딥러닝을 사용한 객체 검출 (Computer Vision Toolbox).
Publish and Subscribe to Messages on ThingSpeak Using MQTT Blocks
Use Simulink blocks to communicate using Message Queuing Telemetry Transport (MQTT) on NVIDIA Jetson or NVIDIA DRIVE®.
Tune Motion Detection Algorithm Running on NVIDIA Jetson
Monitor and tune a Simulink model that implements a motion detection algorithm.
- R2025a 이후
- 라이브 스크립트 열기
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- 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)














