主要内容

在目标硬件上运行

在目标硬件上运行模型

编译 Simulink® 模型并在您的 Raspberry Pi® 硬件上实时运行。通过在外部模式下使用信号监控和参数调节来与您的 Simulink 模型交互。

App

Raspberry Pi 资源监视器Monitor and manage Raspberry Pi resources

主题

示例和操作方法

Communicate with Raspberry Pi Hardware

This example shows how to tune the parameters and monitor the signals of an algorithm running on Raspberry Pi® board.

Communicate with Hardware Using Connected IO

Get peripheral data from the hardware before deploying the Simulink model on the hardware.

Tune and Monitor Model Running on Hardware

Use your host computer to monitor and control an application running on the target hardware.

Run Simulink Model on Raspberry Pi Hardware

Run a Simulink model on Raspberry Pi hardware.

Automatically Run Simulink Model on Raspberry Pi After Restart

Automatically start a Simulink model deployed on Raspberry Pi hardware every time you restart the hardware.

Stop or Restart a Model Running on Raspberry Pi Hardware

Stop or restart a model running on Raspberry Pi hardware.

Configure and Calibrate Pan Tilt Hardware Using Raspberry Pi Pan Tilt HAT

This example shows how to configure and calibrate the pan and tilt hardware using the Pan Tilt HAT block from Simulink® Support Package for Raspberry Pi® Hardware.

Configure Image and Device Properties of Raspberry Pi V4L2 Video Capture Block to Detect Objects

This example shows how to configure the image and device properties of the V4L2 Video Capture block from Simulink® Support Package for Raspberry Pi® Hardware and observe the output in the SDL Video Display block.

发布 MQTT 消息并订阅消息主题

MQTT 消息传递协议的基础知识。

Optimize Code for Raspberry Pi Using Code Replacement Library

Procedural guide to activate code replacement feature for Raspberry Pi hardware boards.

使用机器人操作系统

Install ROS Melodic on Raspberry Pi

Use the instructions to install ROS melodic on your Raspberry Pi hardware board.

Start and Stop ROS Master on Raspberry Pi

Use the instructions to start and stop a ROS master on Raspberry Pi hardware board.

工作流示例

Implement Connected I/O to Communicate with External Peripheral Devices Using Raspberry Pi

This example shows how to implement connected I/O in Normal mode of simulation using Raspberry Pi® hardware.

使用 ThingSpeak 向物联网发布或检索数据

使用 ThingSpeak™ 将数据发布到物联网。

Log Humidity and Temperature Values to Database and Calculate Dew Point Using External C Code Integration Workflow

This example shows how to use Simulink® Support Package for Raspberry Pi® Hardware to integrate a user-defined C function with a Simulink model and achieve the following:

Implement Multicore Programming with CPU Core Affinity for Raspberry Pi

This example shows how to use explicit partitioning for Simulink® Support Package for Raspberry Pi® Hardware models to create atomic subsystems and concurrently execute tasks on a multicore Raspberry Pi processor.

精选示例