Problem on detecting raspberry Pi on 2016a

After adding Raspberry support package following online tutorial I am facing error shown as bellow:
" Warning: Error while adding a route to Raspberry Pi: Connection not possible or there is an existing connection.
Failure establishing SSH session..
Error using matlabshared.internal.ssh2client
Error connecting to SSH server at 169.254.0.2
Error in raspi (line 156) obj.Ssh = matlabshared.internal.ssh2client(obj.IpNode.Hostname, ...
Error in rpi (line 61) obj.rpi_obj = raspi(varargin{1},...
Error in morseCode (line 28) myPi = rpi('169.254.0.2','pi','raspberry'); "
Pi is connected to computer (windows) by Ethernet cable directly.

답변 (1개)

Walter Roberson
Walter Roberson 2016년 5월 24일

1 개 추천

The entire 169.254 block is for self-assigned IP addresses that are subject to change at any time.
If you enable Ethernet Sharing (Port Sharing?) on the ethernet port that the PI is connected to then that will automatically enable DHCP server on the Windows machine, which will allow an IP address to be negotiated that should be more stable.

카테고리

도움말 센터File Exchange에서 MATLAB Support Package for Raspberry Pi Hardware에 대해 자세히 알아보기

태그

질문:

2016년 5월 24일

답변:

2016년 5월 24일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by