フィルターのクリア

I'm having a problem connecting to my raspberry pi, can anyone tell me what this error means and how I can solve the problem?

1 回表示 (過去 30 日間)
This happens whenever I use the 'test connection' option and a similar error saying 'undefined variable matlabshared' shows up if I try to deploy my code to the hardware. I tried reinstalling the support package, but that dosen't seem to work.
  3 件のコメント
Walter Roberson
Walter Roberson 2016 年 12 月 23 日
No, that is definitely not a public IP address. It is an IP address located in the IPv4 Link-Local Address range . Link-local addresses are self-assigned when a system cannot figure out its address, especially if it DHCP's and gets no useable response. 169.254 addresses tend to change for no good reason; any time the system in question is restarted or rebooted it might assign itself a different 169.254 IP address. The 169.254 address that you saw and interacted with before lunch might not still be there in the afternoon.
It is therefore recommended that instead of using 169.254 addresses that you add in a DHCP server and give it a better address, with or without MAC reservation (MAC reservation would reserve the IP address for the device.) Apparently on MS Windows systems if you enable "Connection Sharing" on the interface then that turns on a DHCP server.
Varun Deshmukh
Varun Deshmukh 2016 年 12 月 26 日
編集済み: Varun Deshmukh 2016 年 12 月 26 日
Actually, it worked perfectly on a friend's computer using the same IP... Also, I think this is more of a matlab error since the error is 'undefined variable matlabshared', also, I'm having no problem creating a ssh connection to my pi.

サインインしてコメントする。

採用された回答

David Ding
David Ding 2016 年 12 月 29 日
Hello Varun,
I suggest re-installing the MATLAB support packages for the Raspberry Pi hardware (if you have not done so already). To do this, in MATLAB, type:
>> supportPackageInstaller
(On older versions of MATLAB the command is "targetinstaller")
Then, navigate to the MATLAB Support Package for Raspberry Pi Hardware on the subsequent Add-On Explorer page that opens and follow the on-screen instructions.
Thanks,
David
  1 件のコメント
Varun Deshmukh
Varun Deshmukh 2017 年 1 月 19 日
編集済み: Varun Deshmukh 2017 年 1 月 19 日
Thanks!... Although reinstalling just the support package did not work, reinstalling Matlab did :).

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB 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