Filter löschen
Filter löschen

Error connecting to raspberry pi.

11 Ansichten (letzte 30 Tage)
Karl Fransson
Karl Fransson am 22 Apr. 2018
Beantwortet: julio espinoza am 18 Feb. 2022
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.

Antworten (2)

Omar Hadeed
Omar Hadeed am 20 Nov. 2019
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 Kommentare
Ej Math
Ej Math am 26 Aug. 2021
Worked for me also.. Thank you
Prabuditha Isuru Abhishake
Prabuditha Isuru Abhishake am 14 Okt. 2021
Hi, can I please know is this work after pi reboot (turning off the power and on it again)?

Melden Sie sich an, um zu kommentieren.


julio espinoza
julio espinoza am 18 Feb. 2022
Muchas gracias, si me funciono

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!

Translated by