MATLAB Answers

Matlab support for Raspberry Pi 4

291 ビュー (過去 30 日間)
Pawel Gakan
Pawel Gakan 2019 年 7 月 12 日
Hey,
I'm making a robotics project for my BSc and was wandering when could we expect support for Raspberry Pi 4? This page said that RPi's are currently supported only up to 3B+, 4 being quite new is not even mentioned.
On the other hand, are there some better or equal SoC for robotics projects that are supported by matlab?
Thanks in advance!

  2 件のコメント

Alessio Gagliardi
Alessio Gagliardi 2019 年 9 月 5 日
I am interested as well,
There is a plan for releasing the Raspberry Pi 4 Support Toolbox? Thanks in advance.
Alessio
Rik
Rik 2019 年 9 月 5 日
Even if sometimes staff members look on this forum and post from time to time, the help on this forum is mostly provided by people who are doing this as a volunteer. You can contact Mathworks support directly with the Contact Us button at the top of the page if you want an official answer.

サインインしてコメントする。

回答 (3 件)

Prasanth Sunkara
Prasanth Sunkara 2019 年 9 月 17 日
Hello Pawel,
Raspberry Pi 4B is a significant upgrade over earlier versions. As of today(Sept 2019), the latest release, MATLAB R2019b supports upto 3B+. The development team is actively looking into the request for 4B support and it will be made available in one of the future releases.
Thanks,
Prasanth

  8 件のコメント

表示 5 件の古いコメント
Prasanth Sunkara
Prasanth Sunkara 2020 年 1 月 13 日
Hello @Takamitsu,
The above suggested OS customization workflow would work for versions from R2018b - R2019b. Please try it out and let us know if you face any issues.
Hello @Pawel,
ROS nodes, to put it in a simpler way, are event driven. However if you deploy a simulink model with non-ros blocks on to Raspberry Pi, thery are scheduled to run at the sample time Simulink allots during the compilation of the model.
But since Raspberry pi runs a non real-time OS, the OS may not always guarantee the Simulink generated executable runs at the specified sample time. But in most cases the OS is likely to respect the specified sample time. It varies based on factors like, the block's algorithm computational complexity vs sample time specifed for that block, other programs running on the board etc.
Hope this helps!
Thanks,
Prasanth
Pawel Gakan
Pawel Gakan 2020 年 1 月 13 日
Hello @Prasanth,
Yes, this the exact behaviour I've encountered.
I've compiled and successfully installed preemptive kernel on RPi. Do you think, that this is something I can take advantage of by using MATLAB/Simulink?
Thanks,
Paweł
takamitsu hatakeyama
takamitsu hatakeyama 2020 年 1 月 16 日
Hello @Prasanth
Thank you for your repry.
I have try raspbery pi4 on MATLAB2018b.
It work well for now.
If I found any informative issue, I'll share infomation.
Thanks,
Takamitsu

サインインしてコメントする。


Laalitya Acharya
Laalitya Acharya 2020 年 1 月 16 日
Prasanth Sunkara - I have pi3 and pi4 and both of them are getting errors of
$sudo apt-get install matlab-rpi
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package matlab-rpi
I am trying to do this for matlab online.

  1 件のコメント

Christopher Hamilton
Christopher Hamilton 2020 年 6 月 7 日
Looks like the package installer calls for an older version of libgnutls-openssl. Version 10u4 is the only one on the repo. Kinda new to linux, is there a way I can download/install the older version?
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/g/gnutls28/libgnutls-openssl27_3.6.7-4+deb10u3_armhf.deb 404 Not Found [IP: 93.93.128.193 80]

サインインしてコメントする。


Tohru Kikawada
Tohru Kikawada 2020 年 5 月 29 日
Now MATLAB and Simulink supports Raspberry Pi 4 Model B from R2020a.

  1 件のコメント

Christopher Hamilton
Christopher Hamilton 2020 年 6 月 7 日
Looks like the package installer calls for an older version of libgnutls-openssl. Version 10u4 is the only one on the repo. Kinda new to linux, is there a way I can download/install the older version?
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/g/gnutls28/libgnutls-openssl27_3.6.7-4+deb10u3_armhf.deb 404 Not Found [IP: 93.93.128.193 80]

サインインしてコメントする。

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by