リアルタイム Linux 入門
R2026bEmbedded Coder® Support Package for Real-Time Linux® を使用すると、シミュレーションから、組み込みまたはバーチャル リアルタイム Linux デバイスでのオンターゲット プロトタイピングに移行できます。
Simulink モデルから直接、リアルタイム Linux デバイス上でリアルタイム アプリケーションを展開して実行できます。MATLAB® API、または App Designer を使用してビルドしたカスタム アプリを使用して、リアルタイム アプリケーションを作成、制御、およびインストルメント化できます。
関数
slrealtime.setupTarget | Set up a target Linux device with root-capable SSH connection (R2026a 以降) |
slrealtime.fmu.compileFMUSources | Compile FMU file that contains source code (R2022a 以降) |
slrealtime.ProtectedModel.addTarget.addTarget | Add model protection support to Linux target device (R2026a 以降) |
slrealtime.ModelReference.protect | Add model protection support to Linux target device (R2026a 以降) |
slrtlinux.wsl.configure | Configure WSL2 on development computer with Debian distribution name SLRT (R2026b 以降) |
slrtlinux.wsl.getIPAddress | Get IP address of WSL distribution named SLRT (R2026b 以降) |
slrtlinux.wsl.isRunning | Check whether WSL distribution named SLRT is running (R2026b 以降) |
slrtlinux.wsl.isTargetSetup | Check whether WSL distribution for Linux target device is configured for Simulink Real-Time (R2026b 以降) |
slrtlinux.wsl.launch | Start WSL distribution named SLRT and open a terminal
window (R2026b 以降) |
slrtlinux.wsl.setupTarget | Configure a WSL distribution for a Linux target device (R2026b 以降) |
slrtlinux.wsl.shutdown | Shut down all or selected WSL distribution on Linux target device (R2026b 以降) |
ブロック
![]() | CAN Receive | Receive message from CAN network (R2026b 以降) |
![]() | CAN Transmit | Transmit message to CAN network (R2026b 以降) |
トピック
- Install Support Package
Steps to install support package.
- Prerequisites for Real-Time Linux Setup
Set up a Linux target device to use with the support package.
- Configure Development Computer for Real-Time Linux
Configure the development computer for connecting to the Linux target device.
- Target Devices for Real-Time Linux
Identify Linux target devices to configure for the support package.
- Set Up Virtual Linux Target Device
Set up Linux virtual machines to use with the support package.
- Target Device Configuration for Real-Time Linux
Configure a Linux target device with support package software.
- Build and Deploy Real-Time Application to Linux Target Device
Build Simulink model and deploy application onto Linux target device.
- Simulate Real-Time Applications on Linux Target Devices
Perform model simulation in different modes for the deployed applications.
- Troubleshoot Issues for Real-Time Linux
Troubleshoot problems that you encounter while using the Embedded Coder Support Package for Service-Oriented Applications on Linux.



