Borrar filtros
Borrar filtros

Rasbpberry Pi and MATLAB connection

23 visualizaciones (últimos 30 días)
Zahra
Zahra el 11 de Abr. de 2024
Comentada: cheongmun cho el 28 de Jun. de 2024 a las 10:53
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.

Respuestas (1)

MathWorks MATLAB Hardware Team
MathWorks MATLAB Hardware Team el 15 de Abr. de 2024
Editada: MathWorks MATLAB Hardware Team el 15 de Abr. de 2024
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
  5 comentarios
MathWorks MATLAB Hardware Team
MathWorks MATLAB Hardware Team el 22 de Abr. de 2024
Editada: MathWorks MATLAB Hardware Team el 22 de Abr. de 2024
Could you kindly confirm if you've updated the Raspberry Pi with the 32-bit Bullseye OS? From the logs, it appears that the Raspberry Pi might have been updated with the 32-bit Bookworm instead. It's important to note that the MATLAB Support Package for Raspberry Pi is compatible only with the 32-bit versions of Buster or Bullseye OS.
To verify the current OS version on your Raspberry Pi, please execute the following command in the Raspberry Pi terminal:
$ cat /etc/os-release
If the output indicates "Bookworm", we kindly ask you to reimage your Raspberry Pi with a 32-bit version of either Buster or Bullseye OS.
Should your Raspberry Pi be running on Buster or Bullseye and you continue to encounter the issue you've mentioned, please do not hesitate to get in touch with our technical support team at: https://www.mathworks.com/support/contact_us.html
Thank you for your attention to this matter.
Warm regards,
The MATLAB Hardware Team
MATHWORKS
cheongmun cho
cheongmun cho el 28 de Jun. de 2024 a las 10:53
Thank you. It didn't work for three days, but it worked out after changing the operating system

Iniciar sesión para comentar.

Etiquetas

Productos


Versión

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by