为实时 Linux 目标设备建模
R2026b要创建一个实时应用程序,请从 Simulink® 模型开始,该模型可以包含 Simulink Coder™ 可为其生成 C 代码的任何模块,包括:
Simulink 和 SimulinkReal-Time™ 模块
来自 Stateflow®、Simscape™ 及相关系统工具箱等产品的模块
以 C 代码 S-Function 模块形式存在的用户代码或第三方代码
使用 HDL Coder™ HDL 工作流顾问编程的 FPGA 子系统。
主题
- About SocketCAN Blocks in Real-Time Linux Support Package
The SocketCAN package is an implementation of CAN protocols (Controller Area Network) for Linux.
- Configure SocketCAN Block Interface for Real-Time Linux Support Package
To set up the CAN interface on the Linux target device, you need sudo privileges.
- 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®.