Run on Hardware

Examples showing how to run MATLAB code on Raspberry Pi Hardware.

7K Downloads

Updated 11 Aug 2020

View License

NOTE: MATLAB release R2018b onwards, the functionality provided in this File Exchange submission is now a part of the MATLAB Support Package for Raspberry Pi Hardware.
For more information, please visit the following links:
Documentation: https://www.mathworks.com/help/supportpkg/raspberrypiio/run-on-hardware.html
Video: https://www.youtube.com/watch?v=5lkCx8-zJm0

This package includes examples from image processing and audio signal processing domains that demonstrate the workflow of generating C code from a MATLAB algorithm and running it on hardware as a stand-alone application using MATLAB Coder. A MATLAB function, called runOnHardware, is provided for deploying a MATLAB algorithm for prototyping on a Raspberry Pi hardware board.

The Sobel Edge detection example includes the system objects for capturing images from a USB webcam and for displaying images on the Raspberry Pi desktop.

Cite As

MathWorks MATLAB Coder Team (2023). Run on Hardware (https://www.mathworks.com/matlabcentral/fileexchange/62243-run-on-hardware), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018a
Compatible with R2017a to R2018a
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Pitch_Shift_Example

Sobel_Edge_Detection

Version Published Release Notes
2.0.7

Updated the description

2.0.6

Added a documentation link.

2.0.5

Added link to YouTube Video

2.0.4

Updated the description.

2.0.3

Fixed a minor issue where URL encoded spaces are inserted into the directory names when installing manually instead of using the add-on explorer.

2.0.2

Minor updates.

2.0.1

Updated for new releases.

2.0.0.0

Updated dependency - Embedded Coder
Added a new video
New audio signal processing example added.

1.0.0.0

Added the video link.
Updated title and thumbnail image.