Not able to install userland ,wiringpi in rasi via matlab support package for raspi
7 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/819104/image.png)
1 个评论
Obed Rios
2022-4-21
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
回答(1 个)
Obed Rios
2022-4-21
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 个评论
Obed Rios
2022-4-21
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
2022-12-10
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)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Support Package for Raspberry Pi Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!