Simulink® Support Package for Raspberry Pi™ lets you develop algorithms that run standalone on your Raspberry Pi. The support package extends Simulink with blocks to drive Raspberry Pi digital I/O and read and write data from them. After creating your Simulink model, you can simulate it and download the completed algorithm for standalone execution on the device. One particularly useful (and unique) capability offered by Simulink is the ability to tune parameters live from your Simulink model while the algorithm runs on the hardware.
The support package includes:
Learn more about Raspberry Pi programming with MATLAB and Simulink.
The following Raspberry Pi models are supported by the support package.
|Raspberry Pi Model||Simulink Releases Supported|
|Raspberry Pi 1 Model B (discontinued)||R2014a - Current|
|Raspberry Pi 1 Model B+||R2014b - Current|
|Raspberry Pi 2 Model B||R2014b - Current|
|Raspberry Pi 3 Model B||R2016a - Current|
|Raspberry Pi Zero W||R2018a - Current|
|Raspberry Pi 3 Model B +
||R2018b - Current
Note: Raspberry Pi 1 Model A, Raspberry Pi 1 Model A+, and Raspberry Pi Zero are currently not supported.
Raspberry Pi is a popular, low-cost, credit card sized single-board computer that supports embedded Linux operating systems, such as Raspbian. Raspberry Pi is powered by ARM® Cortex® A processors and provides peripheral connectivity for stereo audio, digital video (1080p), USB, and Ethernet – with optional camera board and sensor board add-ons.
See the hardware support package system requirements table for current and prior version, release, and platform availability.
View enhancements and bug fixes in release notes.
Related Hardware Support Views: Simulink, Alsa, Consumer Electronics, Control Systems, C ∕ C++ Code Generation, Digital Signal Processing, Embedded Systems, Ethernet, Image Processing and Computer Vision, Internet of Things, MathWorks Supported, Power Electronics Control Design, Project-Based Learning, Raspberry Pi, Run on Target Hardware, Serial, Support Package Installer Enabled, USB, Webcam (USB Video)
Note: Raspberry Pi 3 requires release 2016a or later.
Support Package Installer installs this support package and all required third-party software. To start the installer, go to the MATLAB toolstrip and click Add-Ons > Get Hardware Support Packages. For more information, read the documentation.
All required third-party software is installed by the Support Package Installer.