Get Started with Raspberry Pi Blockset
Raspberry Pi® Blockset provides blocks and functions in MATLAB® and Simulink® for prototyping and implementing applications on Raspberry Pi hardware. You can interface with hardware peripherals such as GPIO, I2C, SPI, and camera modules for rapid prototyping.
With Raspberry Pi Blockset, you can acquire sensor data, control actuators, and build applications for image and audio processing, signal processing, and Internet of Things (IoT) systems. You can also deploy machine learning or deep learning applications for edge computing on Raspberry Pi.
You can develop algorithms in MATLAB and Simulink and deploy them to Raspberry Pi using automatic code generation (with Embedded Coder®). The blockset supports live parameter tuning, signal monitoring, and connected I/O workflows, enabling real-time interaction with hardware.
Tutorials
- Working with Raspberry Pi Hardware
This example shows basics of how to work with Raspberry Pi® Hardware.
- Connect to and Control Raspberry Pi Board from MATLAB
This example shows you how to use Raspberry Pi® Blockset to perform basic operations on hardware such as executing shell commands, turning an on-board LED on or off, and manipulating files using installed MATLAB®.
- Deploy and Run Custom MATLAB Functions on Raspberry Pi
This example shows how to deploy a MATLAB® function as a standalone executable on the Raspberry Pi® Hardware using Raspberry Pi Blockset.
- Build and Deploy Your First Simulink Model to Raspberry Pi
This example shows you how to use Raspberry Pi® Blockset to build and deploy a Simulink® model on Raspberry Pi hardware.
- Product Stack for Raspberry Pi Blockset
Identify minimum required product(s) for Raspberry Pi Blockset to best suit your end goals. - Get IP Address of Raspberry Pi Hardware
You can use any of these methods to know the IP address of your Raspberry Pi hardware. - Configure Network Settings of Raspberry Pi Hardware
Configure the network settings of your Raspberry Pi hardware.






