Modeling for Real-Time Linux Target Devices
R2026bTo create a real-time application, start with a Simulink® model, which can contain any block for which Simulink Coder™ can generate C code, including:
Simulink and Simulink Real-Time™ blocks
Blocks from products such as Stateflow®, Simscape™, and related system toolboxes
User code or third-party code in the form of C code S-function blocks
FPGA subsystems, programmed by using HDL Coder™ HDL Workflow Advisor.
Topics
- 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®.