メインコンテンツ

このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。

モデル化

R2026a
Simulink® から NVIDIA® ハードウェアをターゲットとする

ハードウェア接続用の Simulink モデルを準備し、NVIDIA ハードウェアをサポートするブロックを追加します。

ブロック

すべて展開する

NVIDIA ALSA audio capture blockALSA Audio CaptureALSA を使用してサウンド カードからオーディオを取得する
NVIDIA ALSA audio playback blockALSA Audio PlaybackSend audio to sound card for playback using ALSA
NVIDIA audio file read blockAudio File ReadRead audio frames from an audio file
NVIDIA Camera blockCameraCapture video from a USB or CSI camera connected to the NVIDIA target
NVIDIA video stream blockNetwork Video ReceiveReceive video from network RTP or IP camera RTSP stream on NVIDIA Jetson hardware
INVIDIA SDL Video Display blockSDL Video DisplayDisplay video on a monitor connected to the NVIDIA target
NVIDIA Video read blockVideo ReadRead video frames from multimedia file on NVIDIA target (R2024a 以降)
INVIDIA Video send blockVideo SendSend video stream to remote hardware (R2023b 以降)
NVIDIA GPIO read blockGPIO ReadRead logical state of an input pin
NVIDIA GPIO write blockGPIO WriteSet logical state of an output pin
NVIDIA CAN receive blockCAN Receive Receive messages from the controller area network (CAN) bus
NVIDIA CAN receive blockCAN TransmitTransmit messages on the controller area network (CAN) bus
NVIDIA Serial Read blockSerial ReadRead data from serial port
NVIDIA Serial Write blockSerial WriteWrite data to serial port
SPI Register Write blockSPI Register WriteWrite to register of SPI device connected to NVIDIA Jetson board (R2026a 以降)
SPI Register Read blockSPI Register ReadRead from register of SPI device connected to NVIDIA Jetson board (R2026a 以降)
SPI Controller Transfer blockSPI Controller TransferWrite to and read from SPI device connected to NVIDIA Jetson board (R2026a 以降)
NVIDIA MQTT publish blockMQTT PublishPublish messages to MQTT broker on specified topic (R2023a 以降)
NVIDIA MQTT subscribe blockMQTT SubscribeReceive messages from the MQTT broker for specified topic (R2023a 以降)
NVIDIA Modbus TCP/IP Client Read block iconModbus TCP/IP Client ReadClient device reads data from server device register(s) over TCP/IP network (R2022a 以降)
NVIDIA Modbus TCP/IP Client Write block iconModbus TCP/IP Client WriteClient device writes data to server device register(s) over TCP/IP network (R2022a 以降)
NVIDIA Modbus TCP/IP Server Read block iconModbus TCP/IP Server ReadServer device reads data from server device register over TCP/IP network (R2022a 以降)
NVIDIA Modbus TCP/IP Server Write block iconModbus TCP/IP Server WriteServer device writes data to server device register over TCP/IP network (R2022a 以降)
NVIDIA TCP/IP Receive blockTCP/IP Receiveリモート ホストから TCP/IP ネットワーク経由でデータを受信する
NVIDIA TCP/IP Send blockTCP/IP Send別のリモート ホストに TCP/IP ネットワーク経由でデータを送信する
NVIDIA UDP Receive blockUDP Receive Receive UDP packets from UDP host
NVIDIA UDP Send blockUDP SendSend UDP packets to UDP host
NVIDIA BME280 sensor blockBME280Measure barometric air pressure, relative humidity, and temperature from BME280 sensor (R2022b 以降)
NVIDIA BMI160 sensor blockBMI160Measure linear acceleration, angular rate, and temperature from BMI160 sensor (R2022b 以降)
NVIDIA BMM150 sensor blockBMM150Measure magnetic field from BMM150 sensor (R2022b 以降)

モデル設定

すべて展開する

オペレーティング システム/スケジューラ

基本レート タスクの優先順位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
Allow All MessagesAllow all CAN messages through acceptance filter
ID Type 1CAN message frame format for filter 1
Acceptance Mask 1Acceptance mask value for filter 1
Acceptance Filter 1Acceptance filter value for filter 1
Inverse Filter 1Inverse criterion to pass messages for filter 1
ID Type 2CAN message frame format for filter 2
Acceptance Mask 2Acceptance mask value for filter 2
Acceptance Filter 2Acceptance filter value for filter 2
Inverse Filter 2Inverse criterion to pass messages for filter 2
ID Type 3CAN message frame format for filter 3
Acceptance Mask 3Acceptance mask value for filter 3
Acceptance Filter 3Acceptance filter value for filter 3
Inverse Filter 3Inverse criterion to pass messages for filter 3
ID Type 4CAN message frame format for filter 4
Acceptance Mask 4Acceptance mask value for filter 4
Acceptance Filter 4Acceptance filter value for filter 4
Inverse Filter 4Inverse criterion to pass messages for filter 4

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 interfaceTransport layer for external mode to exchange data between development computer and hardware
Run external mode in a background threadForce 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 InterfaceType of communication interface that blocks use for Modbus communication (R2022a 以降)
モードModbus mode of operation (R2022a 以降)
Remote Server IP port numberIP port number of Modbus client device on TCP/IP network (R2022a 以降)
Local IP port numberIP port number of Modbus server devices on TCP/IP network (R2022a 以降)
Configure CoilsConfigure coil register parameters (R2022a 以降)
Configure Discrete InputsConfigure discrete input register parameters (R2022a 以降)
Configure Holding registersConfigure holding register parameters (R2022a 以降)
Configure Input registersConfigure input register parameters (R2022a 以降)
Received timeout (ms)Maximum time client waits for response from Modbus server (R2022a 以降)

MQTT

Encryption TypeEncryption protocol to use for MQTT communication (R2023b 以降)
ブローカー アドレスAddress of MQTT broker (R2023a 以降)
端子TCP/IP port to use for MQTT connection (R2023b 以降)
CA Server Certificate PathName and location of file containing root certificates (R2023b 以降)
ユーザー名Username for MQTT broker (R2023a 以降)
パスワードPassword for MQTT broker (R2023a 以降)
クライアント IDUnique identifier for client connected to MQTT broker (R2023a 以降)

トピック

注目の例