- Try to ssh to the Raspberry Pi (with the IP address showing in the Router) using a putty
- Connect a monitor to the Raspberry Pi and make sure that it has booted up
- Within the Raspberry Pi desktop, check the network manager icon and verify the IP address
Issues getting Raspberry PI to connect consistently to MATLAB, both with an ethernet connection directly and through wifi.
5 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/605300/image.png)
I have successfully connected my Raspberry PI 4B to MATLAB and Simulink once before by using the 'connect through wifi' option when installing the hardware support package. I ran 'mypi=raspi' and it showed that it indeed was connected. It was able to run a Simulink program with no issue. After I powered down the PI and later tried reconnecting it, MATLAB told me that the IP address, password, or username was incorrect - I have not changed from the defaults and am sure I was using the same IP address. Trying to run the same program, it gave me an error saying it could not connect to SSH. I checked my router and it displayed the PI in the 'connected' devices and not in the 'unconnected devices', but the RSSI level was undefined. I have tried reinstalling the support package for Raspberry PI and using different connection options, but now it won't allow me to connect again even through the wifi option as I had before. Any help is greatly appreciated.
0 个评论
回答(1 个)
Reeno Joseph
2021-5-13
Hi Amity,
Couple of troubleshooting steps that you can try.
Let me know if you are facing any issue in the above steps.
-Reeno
1 个评论
Grant Smith
2022-4-7
I am having the same frustrations as the OP. I am currently in direct connect LAN mode and I am watching the Pi boot up on an external display.
Matlab utility continues to fail at connecting to the Pi but I can open the VCN utility on the Pi and see an IP address for connecting to it and I can ping that IP address successfully from the host PC command prompt. But Matlab utility is a no.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Installation Setup and Configuration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!