Not able to install userland ,wiringpi in rasi via matlab support package for raspi
20 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/819104/image.png)
1 Kommentar
Obed Rios
am 21 Apr. 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
Antworten (1)
Obed Rios
am 21 Apr. 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 Kommentare
Obed Rios
am 21 Apr. 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
am 10 Dez. 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)
Siehe auch
Kategorien
Mehr zu MATLAB Support Package for Raspberry Pi Hardware finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!