Error connecting to raspberry pi.
显示 更早的评论
Cannot establish a connection to the board with device address "169.254.157.71". Wait 30 seconds and try again.
I've used putty to enable SSH and the default settings for username and password. I can ping to it but I can't create the object using the line:
My_raspi = raspi('169.254.157.71','pi','raspberry')
MATLAB just tells me to wait 30 seconds. Any thoughts?
Edit: seems to be working just fine on MATLAB R2017b. Not on MATLAB R2018a.
回答(2 个)
Omar Hadeed
2019-11-20
4 个投票
The raspberry pi rebooted abruptly and now it's stuck on the old session. You need to update the server.
Try this:
raspi.internal.updateServer('ip_address','username','password')
3 个评论
mujib khan
2021-6-19
Thanks it works.
Ej Math
2021-8-26
Worked for me also.. Thank you
Prabuditha Isuru Abhishake
2021-10-14
Hi, can I please know is this work after pi reboot (turning off the power and on it again)?
julio espinoza
2022-2-18
0 个投票
Muchas gracias, si me funciono
类别
在 帮助中心 和 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!