Raspberry Pi 3 Connection Problem
Ältere Kommentare anzeigen
My pc connects to Pi 3 with Wifi.
And this is working:
mypi = raspberrypi('192.168.88.102', 'pi', '123456')
message = mypi.connect
openShell(mypi,'ssh')
But when I try to use:
mypi = raspi('192.168.88.102', 'pi', '123456')
It is fail.And turns out below:
错误使用 raspi (line 169)
Cannot establish a TCP/IP connection to the board with device address "192.168.88.102".
原因:
错误使用 raspi (line 165)
Cannot create a communication link with the remote server. Please check the input arguments(ADDRESS and PORT) and make sure
the server is running.
Additional Information: 由于目标计算机积极拒绝,无法连接。.
And the supply power is 1A,
Somebody know why?
Thanks a lot.
13 Kommentare
Pawel Ladosz
am 15 Aug. 2016
can you ping your Pi and post the response you getting? Type in Matlab command window
!ping 192.168.88.102
Mathcode Liang
am 15 Aug. 2016
Bearbeitet: Mathcode Liang
am 15 Aug. 2016
Pawel Ladosz
am 15 Aug. 2016
What Operating system are you running on your PI?
Mathcode Liang
am 15 Aug. 2016
Bearbeitet: Mathcode Liang
am 15 Aug. 2016
Pawel Ladosz
am 16 Aug. 2016
Bearbeitet: Pawel Ladosz
am 16 Aug. 2016
I suspect you have some issues with ports in your network (either PI or computer you are connecting from). In your PI terminal could you run (and post output)?
netstat -t -l -n
Also would you be able to connect pi to different network and/or computer and see whether problem is persistent?
Mathcode Liang
am 16 Aug. 2016
Pawel Ladosz
am 16 Aug. 2016
Apart from connecting to different network and/or computer (maybe plug it directly to computer via Ethernet?) I am out of ideas I am affraid
Mathcode Liang
am 17 Aug. 2016
Mathcode Liang
am 17 Aug. 2016
Pawel Ladosz
am 17 Aug. 2016
Bearbeitet: Pawel Ladosz
am 17 Aug. 2016
That's a strange problem, can you please bring it up with matlab support so it can be fixed in future updates?
Mathcode Liang
am 18 Aug. 2016
Bearbeitet: Walter Roberson
am 18 Aug. 2016
Pawel Ladosz
am 19 Aug. 2016
Please find matlab support page appropriate for your country and click 'contact us'
Mathcode Liang
am 21 Aug. 2016
Antworten (1)
Richard
am 1 Aug. 2017
0 Stimmen
How did you mange to connect raspberry pi to matlab via wifi? I tried multiple methods but none of them works.
Kategorien
Mehr zu MATLAB Support Package for Raspberry Pi Hardware finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
