メインコンテンツ

リアルタイム Linux 入門

R2026b
オンターゲット プロトタイピングやバーチャル テスト向けのリアルタイム Linux の基礎を学習する

Embedded Coder® Support Package for Real-Time Linux® を使用すると、シミュレーションから、組み込みまたはバーチャル リアルタイム Linux デバイスでのオンターゲット プロトタイピングに移行できます。

Simulink モデルから直接、リアルタイム Linux デバイス上でリアルタイム アプリケーションを展開して実行できます。MATLAB® API、または App Designer を使用してビルドしたカスタム アプリを使用して、リアルタイム アプリケーションを作成、制御、およびインストルメント化できます。

関数

slrealtime.setupTargetSet up a target Linux device with root-capable SSH connection (R2026a 以降)
slrealtime.fmu.compileFMUSourcesCompile FMU file that contains source code (R2022a 以降)
slrealtime.ProtectedModel.addTarget.addTargetAdd model protection support to Linux target device (R2026a 以降)
slrealtime.ModelReference.protectAdd model protection support to Linux target device (R2026a 以降)
slrtlinux.wsl.configureConfigure WSL2 on development computer with Debian distribution name SLRT (R2026b 以降)
slrtlinux.wsl.getIPAddressGet IP address of WSL distribution named SLRT (R2026b 以降)
slrtlinux.wsl.isRunningCheck whether WSL distribution named SLRT is running (R2026b 以降)
slrtlinux.wsl.isTargetSetupCheck whether WSL distribution for Linux target device is configured for Simulink Real-Time (R2026b 以降)
slrtlinux.wsl.launchStart WSL distribution named SLRT and open a terminal window (R2026b 以降)
slrtlinux.wsl.setupTargetConfigure a WSL distribution for a Linux target device (R2026b 以降)
slrtlinux.wsl.shutdownShut down all or selected WSL distribution on Linux target device (R2026b 以降)

ブロック

CAN Receive blockCAN Receive Receive message from CAN network (R2026b 以降)
CAN Transmit blockCAN TransmitTransmit message to CAN network (R2026b 以降)

トピック

注目の例