Not able to install userland ,wiringpi in rasi via matlab support package for raspi
20 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/819104/image.png)
1 commentaire
Obed Rios
le 21 Avr 2022
To install in your RPI4, you may use Install rpi-userland on Raspberry Pi using the Snap Store | Snapcraft, also you may install wiringpi with wget https://project-downloads.drogon.net/wiringpi-latest.deb then sudo dpkg -i wiringpi-latest.deb, hope this help
Réponses (1)
Obed Rios
le 21 Avr 2022
To install in your RPI4, you may use Install rpi-userland on Raspberry Pi using the Snap Store | Snapcraft, also you may install wiringpi with wget https://project-downloads.drogon.net/wiringpi-latest.deb then sudo dpkg -i wiringpi-latest.deb, hope this help!!.
2 commentaires
Obed Rios
le 21 Avr 2022
I forgo to mention, that you need to clone userland git in /opt using:
sudo git clone https://github.com/raspberrypi/userland
then in matlab use
raspi.internal.updateServer('your_ip_address','user','password')
and this should work to compile matlab server from your RPI without problem. After this you may create rpi object using: rpi = raspi()
works for me, hope this help!!!
Ibrahim Naglah
le 10 Déc 2022
Do you have a solution for raspberry pi 4 , Ubuntu 22.04 OS ? I tried what you said but it did not work and sent “could not execute this command” with a long message
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1226182/940BEBEC-BA97-497F-AD7D-A327518A4B3B.jpeg)
Voir également
Catégories
En savoir plus sur MATLAB Support Package for Raspberry Pi Hardware dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!