Error connecting raspberry pi

6 vues (au cours des 30 derniers jours)
Ananya
Ananya le 5 Sep 2024
Error in raspi (line 200)
obj.Ssh = matlabshared.internal.ssh2client()

Réponses (1)

Shreeya
Shreeya le 5 Sep 2024
Hi Ananya
You can try the below troubleshooting steps to ensure that raspberry pi is connected properly:
  • Ping the IP address heard from the Rasberry Pi :
!ping <IP_address>
  • Open windows command prompt and run "ipconfig". The IP address seen in the command prompt should be similar to the IP address heard from the Rasberry Pi. If not, then the Rasberry Pi is on a different subnet. To troubleshoot this, you can follow the below steps:
1. Go to the "Network and Sharing Center" on the computer. You will probably see something like "Ethernet 2" in the connections corresponding to the Rasberry Pi board.
2. Click on the "Ethernet 2", then click Properties.
3. Select "Internet Protocol Version 4 (TCPIP/IPv4)" and click on 'Properties'.
4. Select "Obtain IP address automatically" and "Obtain DNS server address automatically".
5. Click OK and OK and close.
6. Now, remove the cable from the Ethernet port and again insert, and restart the Rasberry Pi.
7. Get the IP address heard from the Rasberry Pi (It could be the same one as before).
8. Pinging this IP address should now be successful.

Catégories

En savoir plus sur MATLAB Support Package for Raspberry Pi Hardware dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by