主要内容

Real-Time Linux 快速入门

R2026b
学习用于目标上原型构建和虚拟测试的 Real-Time Linux 基础知识

Embedded Coder® Support Package for Real-Time Linux® 将您从仿真带到嵌入式或虚拟 Real-Time Linux 设备上的目标原型构建。

您可以直接从 Simulink 模型将实时应用程序部署在 Real-Time Linux 设备上并运行它们。您可以使用 MATLAB® API 或通过 App 设计工具构建的自定义 App 来创建、控制和检测实时应用程序。

函数

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 起)

主题

精选示例