MATLAB Support Package for BeagleBone Black Hardware
Interact with BeagleBone Black from MATLAB
5.9K Downloads
Updated
15 Oct 2025
Capabilities and Features
With MATLAB Support Package for BeagleBone® Black Hardware, you can access peripheral devices through BeagleBone Black, a low-cost, single-board computer designed for digital signal processing.
The MATLAB support package allows you to acquire data from sensors and imaging devices connected to BeagleBone Black. Specifically, libraries of MATLAB functions are provided for the following BeagleBone Black interfaces:
- USB Webcam
- I2C interface
- SPI interface
- Serial interface
- GPIO
- ADC
- PWM
The capabilities of BeagleBone Black can be extended to signal processing and video algorithms through add-on products such as DSP System Toolbox, Image Processing Toolbox, and Computer Vision Toolbox. Researchers, students, and hobbyists 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 BeagleBone Black. To develop applications for the BeagleBone Black to be used in standalone operation, please see BeagleBone Black Support from Embedded Coder.
Examples
- Tracking a Green Ball Using Web Camera
- Controlling a 4-Digit 7-Segment Display Using Serial Port
- Controlling a 4-Digit 7-Segment Display Using I2C
- Analog Input Using SPI
Documentation
Solutions
This support package is functional for R2015a and beyond.
MATLAB Release Compatibility
Created with
R2016b
Compatible with R2016b to R2026a
Platform Compatibility
Windows macOS (Apple Silicon) macOS (Intel) LinuxCategories
- Code Generation > Embedded Coder >
- Test and Measurement > Data Acquisition Toolbox > Analog Input and Output >
- Test and Measurement > Data Acquisition Toolbox > Digital Input and Output >
- Test and Measurement > Data Acquisition Toolbox > Data Acquisition Toolbox Supported Hardware >
- Test and Measurement > ThingSpeak >
Find more on Embedded Coder in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
