Use MATLAB to acquire sensor and image data from your connected Raspberry Pi.

Raspberry Pi™ is a tiny, low-cost, single-board computer designed for teaching. The Raspberry Pi features a Broadcom® system-on-a-chip which includes an ARM® processor, onboard RAM, and a VideoCore IV GPU.

Support for Raspberry Pi 2 New

Use MATLAB with your Raspberry Pi 2. Download support by clicking the "Get Support Package Now" button above.

With the MATLAB® Support Package for Raspberry Pi Hardware, you can access peripheral devices through the Raspberry Pi. This support allows you to acquire data from sensors and imaging devices connected to the Raspberry Pi. Specifically, a library of MATLAB functions are provided for the following Raspberry Pi add-ons and interfaces:

Raspberry Pi Camera Board

I2C interface

SPI interface

Serial interface

GPIO

Students can use MATLAB to acquire data from connected devices, and then they can analyze and visualize their data in MATLAB.

Note that you cannot run MATLAB code as a standalone application on a Raspberry Pi. To develop applications for the Raspberry Pi to be used in standalone operation, please see the Simulink® Support for Raspberry Pi.

Platform Support

Available on 32-bit and 64-bit Microsoft® Windows® and 64-bit Mac OS X.

MathWorks Requirements

Software

Required

Recommended

Support Package

Required

Support Package Installer installs this support package. To start the installer, go to the MATLAB toolstrip and click Add-Ons > Get Hardware Support Packages. For more information, read the documentation.