Raspberry Pi 5 Setup - MATLAB Support Package

143 views (last 30 days)
Paulo
Paulo on 10 Apr 2024
Commented: Prasanth Sunkara on 8 Nov 2024 at 17:33
I just acquired the new Raspberry Pi 5, and wanted to connect to it through MATLAB. I'm using MATLAB 2021b, and followed the steps in setting up the Support package page for Raspberry Pi hardware. However, when I am asked to select a board there is no option for the Raspberry Pi 5 model, which prompts to me to think that's not yet supported. Is this the case?

Answers (3)

Walter Roberson
Walter Roberson on 10 Apr 2024
You can set up your Raspberry Pi hardware using either the MathWorks® Raspbian image or by customizing the Raspbian Linux operating system on your Raspberry Pi, namely Stretch or Buster. The MathWorks Raspbian image is composed of the latest Raspbian image with all the libraries and packages required to make the image compatible with MATLAB and Simulink®.
You can set up your Raspberry Pi hardware using any 32-bit Raspberry Pi Linux® operating system on your Raspberry Pi, namely Buster or Bullseye.
I speculate that your new Raspberry Pi has Bullseye installed.
  1 Comment
Paulo
Paulo on 11 Apr 2024
Hey. Apologies if the question was poorly formulated, but the issue I am having is not setting up the software itself. My Raspberry Pi hardware (Raspberry Pi 5) seems not to be supported by the current MATLAB support package (version 21.2.3). I just wanted confirmation whether this is the case in MATLAB 2021b. I am attaching an image for further clarification.

Sign in to comment.


MathWorks MATLAB Hardware Team
Hi Paulo,
Currently ,Raspberry 5 is not supported till R2024a. But we are planning to support it in the upcoming releases.
Thanks,
MATLAB Hardware Team
  7 Comments
Sathish Kumar
Sathish Kumar on 7 Oct 2024
Thank you for reply. Is there anyother way to use Raspberry pi 5 with MATLAB?

Sign in to comment.


MathWorks MATLAB Hardware Team
Hi,
The MATLAB Support Package for Raspberry Pi includes support for the Raspberry Pi 5 (with Bookworm 32-bit OS) starting from the R2024b release. Please upgrade MATLAB to the R2024b version to use the MATLAB Support Package for Raspberry Pi with the Raspberry Pi 5.
Note: The Camera Board, PWM, and Servo functions are not supported for the Raspberry Pi 5 in the R2024b MATLAB Support Package for Raspberry Pi.
Thanks!
  2 Comments
Prasanth Sunkara
Prasanth Sunkara on 8 Nov 2024 at 17:33
Thank you for pointing this out. It has been updated to reflect the Raspberry Pi 5 support from 24b.

Sign in to comment.

Categories

Find more on MATLAB Support Package for Raspberry Pi Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!