Run on Target Hardware
Build a Simulink® model and run it on your Raspberry Pi® hardware in real time. Interact with your Simulink model using signal monitoring and parameter tuning in external model.
|Raspberry Pi Resource Monitor App||Monitor and manage Raspberry Pi resources (Since R2020b)|
- Support I2C Communication
Support I2C communication.
- Support SPI Communication
Enable communication with other SPI devices by using the SPI Controller Transfer block from the support package library.
- Asynchronous Serial Communication
Asynchronous serial communication.
- Signal Monitoring and Parameter Tuning
Overview of the operation of external with attached hardware boards.
Examples and How to
This example shows how to tune the parameters and monitor the signals of an algorithm running on Raspberry Pi® board.
Get peripheral data from the hardware before deploying the Simulink model on the hardware.
Use your host computer to monitor and control an application running on the target hardware.
Run a Simulink model on Raspberry Pi hardware.
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.
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.
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.
Basics of the MQTT messaging protocol.
Working with Robot Operating System
Use the instructions to install ROS melodic on your Raspberry Pi hardware board.
Use the instructions to start and stop a ROS master on Raspberry Pi hardware board.
This workflow shows how to implement connected I/O in Normal mode of simulation using Raspberry Pi hardware.
Publish Data to Internet of Things using ThingSpeak.
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:
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.