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 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Varun Deshmukh
el 22 de Dic. de 2016
Editada: Varun Deshmukh
el 19 de En. de 2017
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/159185/image.png)
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 comentarios
Walter Roberson
el 23 de Dic. de 2016
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.
Respuesta aceptada
David Ding
el 29 de Dic. de 2016
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 comentario
Más respuestas (0)
Ver también
Categorías
Más información sobre MATLAB Support Package for Raspberry Pi Hardware en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!