MATLAB and Raspberry Pi connection problem

1 ビュー (過去 30 日間)
雨多 裴
雨多 裴 2021 年 5 月 11 日
コメント済み: 雨多 裴 2021 年 5 月 17 日
When I connected the Raspberry Pi with MATLAB, the following error occurred when I checked the information of the Raspberry Pi board,
I downloaded "nanomsg", found "nn.h", placed it in the MATLAB running directory and created the "nn.h" environment variable, but this error still occurred.
Has anyone encountered this problem? Thank you very much for your help!


MathWorks MATLAB Hardware Team
MathWorks MATLAB Hardware Team 2021 年 5 月 13 日
Seems like the Raspberry Pi needs to be setup first, you can do that by performing following steps,
* Go to "Home" tab in MATLAB
* Select "Manage Add-Ons" from "Add-Ons" dropdown
* Click the gear icon at the end of "MATLAB Support Package for Raspberry Pi Hardware"
* Follow the Hardware Setup process
* Reboot the Raspberry Pi and create object in MATLAB.
MATLAB Hardware Team
  1 件のコメント
雨多 裴
雨多 裴 2021 年 5 月 17 日
Thanks a lot! I downloaded raspbian again and set it up according to your suggestion. Now I can connect to the Raspberry Pi correctly, thank you so much!


その他の回答 (0 件)


Find more on Simulink 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!

Translated by