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
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.
采纳的回答
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
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File 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!