Not able to install userland ,wiringpi in rasi via matlab support package for raspi
7 views (last 30 days)
Show older comments

1 Comment
Obed Rios
on 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
Answers (1)
Obed Rios
on 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 Comments
Obed Rios
on 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
on 10 Dec 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

See Also
Categories
Find more on MATLAB Support Package for Raspberry Pi Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!