モデル化
ハードウェア接続用の 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 |
モデル設定
オペレーティング システム/スケジューラ
| 基本レート タスクの優先順位 | Static priority of model base rate task |
| タスク オーバーランの検出 | Detection of task overruns in Simulink model running on target hardware |
ボード パラメーター
| デバイスのアドレス | IP address of hardware board on network |
| ユーザー名 | Username for Linux operating system on hardware board |
| パスワード | Password for Linux username on hardware board |
ビルド オプション
| ビルド アクション | Define how Simulink responds when building models |
| ビルド ディレクトリ | Directory in which to build code generated from Simulink models |
| 表示 | 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 number on hardware board |
| 詳細 | 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 以降) |
| モード | 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 以降) |
| ブローカー アドレス | Address of MQTT broker (R2023a 以降) |
| 端子 | TCP/IP port to use for MQTT connection (R2023b 以降) |
| CA Server Certificate Path | Name and location of file containing root certificates (R2023b 以降) |
| ユーザー名 | Username for MQTT broker (R2023a 以降) |
| パスワード | Password for MQTT broker (R2023a 以降) |
| クライアント 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 ブロックを含むモデルのシミュレーションを高速化する。
- GPU Coder を使用した Simulink モデルからのコード生成 (GPU Coder)
GPU Coder™ を使用して、Simulink モデルから CUDA® コードを生成する。
- MATLAB Function ブロックを使用した深層学習ネットワーク用の GPU コード生成 (GPU Coder)
MATLAB Function ブロックを使用して Simulink で深層学習モデルをシミュレートしてコードを生成します。
- Deep Neural Networks ライブラリ ブロック用の GPU コード生成 (GPU Coder)
ライブラリ ブロックを使用して Simulink で深層学習モデルをシミュレートしてコードを生成します。
- Connecting and Using USB to Serial Converter with Jetson
Connecting the USB to serial converter to a NVIDIA Jetson™ board.
- 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.
ECG 信号を分類する深層学習 Simulink モデルのコード生成
この例では、強力な信号処理手法と畳み込みニューラル ネットワークを組み合わせて使用して ECG 信号を分類する方法を示します。また、Simulink® モデルから CUDA® コードを生成する方法も紹介します。この例では、Wavelet Toolbox™ の "ウェーブレット解析と深層学習を使用した時系列の分類" の例の事前学習済み CNN ネットワークを使用して、時系列データの CWT からのイメージを基に ECG 信号を分類します。学習の詳細については、ウェーブレット解析と深層学習を使用した時系列の分類 (Wavelet Toolbox)を参照してください。
(GPU Coder)
車線検出と車両検出を実行する深層学習 Simulink モデルのコード生成
この例では、車線検出と車両検出を実行する Simulink® モデルから、畳み込みニューラル ネットワーク (CNN) を使用して CUDA® アプリケーションを開発する方法を説明します。この例では、交通量ビデオのフレームを入力として受け取り、エゴ ビークルの左右の車線に対応する 2 つの車線境界線を出力し、フレーム内の車両を検出します。この例では、GPU Coder™ 製品の "GPU Coder で最適化した車線検出" の例の事前学習済み車線検出ネットワークを使用します。詳細については、GPU Coder で最適化した車線検出 (GPU Coder)を参照してください。この例では、Computer Vision Toolbox™ の "YOLO v2 深層学習を使用したオブジェクト検出" の例の事前学習済み車両検出ネットワークも使用します。詳細については、YOLO v2 深層学習を使用したオブジェクトの検出 (Computer Vision Toolbox)を参照してください。
(GPU Coder)
ウェーブレット解析と深層学習を使用した NVIDIA Jetson への信号分類器の展開
この例では、連続ウェーブレット変換 (CWT) と事前学習済みの畳み込みニューラル ネットワーク (CNN) を使用して人間の心電図 (ECG) 信号を分類する CUDA® 実行可能ファイルを生成および展開する方法を説明します。
(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.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の 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)














