Troubleshoot Connecting Issues to Raspberry Pi Hardware – MATLAB & Simulink
If you are having issues specific to MATLAB ® Online™, refer to Troubleshoot Raspberry Pi in MATLAB Online .
Verify the power and network connection on the Raspberry Pi hardware.
The MATLAB software cannot reach the Raspberry Pi hardware over the network connection. To solve this issue:
Host Does Not Exist
Creating a connection to Raspberry Pi hardware produces the following error:
mypi = raspi
Error using raspi (line 160) Cannot establish an SSH connection to the board with device address "raspberrypi-computername". Caused by: Error using raspi.internal.sshclient/executeCommand (line 96) Error executing command: Unable to open connection: Host does not exist
If you have just started the Raspberry Pi hardware, wait two to four minutes. Then, try creating a connection
again.
If the Raspberry Pi hardware has a different IP address from the previous connection, complete the
steps in Get the IP Address of the Raspberry Pi Hardware and Create Connection to a Board That Has Different Settings.