フィルターのクリア

Rasbpberry Pi and MATLAB connection

23 ビュー (過去 30 日間)
Zahra
Zahra 2024 年 4 月 11 日
コメント済み: Max 2024 年 8 月 13 日
Hello,
I am trying to connect MATLAB to Raspberry Pi. I wrote this code:
targetObj=targetHardware('Raspberry Pi');
deploy(targetObj,'CARPID');
r=raspi('10.0.0.121','vanderei','vande')
### Updating Raspberry Pi I/O server...
### Connecting to board...
### Connected to 10.0.0.121...
### Creating server folder...
### Transferring source files...
### Building MATLAB I/O server...
### Launching MATLAB I/O server...
Error retrieving the board revision.
I could not find the reason of this error. Can you help me?
Thank you.

回答 (1 件)

MathWorks MATLAB Hardware Team
MathWorks MATLAB Hardware Team 2024 年 4 月 15 日
編集済み: MathWorks MATLAB Hardware Team 2024 年 4 月 15 日
Hi ,
Please tell which version of the MATLAB you are using.
Also please tell which operating system of the raspberry pi you are using .
This can be known by executing the following command in the raspberry pi
$ cat /etc/os-release
Please tell whether you are using 32 bit OS or 64 bit OS by executing the following in the raspberry pi
$ uname -m
Are you able to create the raspberry pi object on the MATLAB.
Please answer all above questions so that we can help you better.
Thanks,
MATLAB Hardware Team
  6 件のコメント
cheongmun cho
cheongmun cho 2024 年 6 月 28 日
Thank you. It didn't work for three days, but it worked out after changing the operating system
Max
Max 2024 年 8 月 13 日
Its dissappointing that matlab relies on a 32bit OS and the userland library, which is explicetly declared obsolete and with "DO NOT USE" in its github repository.
Same for wiringpi, which was nothing but a hobby project by an individual and has long been abandoned by that person. Pretty much everyone has moved to official linux drivers.

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

カテゴリ

Help Center および File ExchangeRun on Target Hardware についてさらに検索

タグ

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by