필터 지우기
필터 지우기

Error connecting to raspberry pi.

조회 수: 11 (최근 30일)
Karl Fransson
Karl Fransson 2018년 4월 22일
답변: julio espinoza 2022년 2월 18일
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
Omar Hadeed 2019년 11월 20일
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
Ej Math
Ej Math 2021년 8월 26일
Worked for me also.. Thank you
Prabuditha Isuru Abhishake
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
julio espinoza 2022년 2월 18일
Muchas gracias, si me funciono

카테고리

Help CenterFile 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!

Translated by