Raspberry Pi Simulink Communication Error
2 views (last 30 days)
Show older comments
Hello,
I am fairly new to Simulink and I am trying to incorporate a stand alone application running the model on a Raspberry Pi target.
I set up the RPi and I can Putty (ssh) to it just fine.
But when I try to Run on Target in Simulink. I get the common error:
---------------------------------------------------------------------
The call to realtime_make_rtw_hook, during the entry hook generated the following error: Could not connect to the board at simPi. Please check: 1: IP address, User name and Password are valid. 2: The board is powered up and connected to the network
Details: SSH connection to host simPi failed: Unable to open connection: Host does not exist
The build process will terminate as a result.
Caused by: Could not connect to the board at simPi. Please check: 1: IP address, User name and Password are valid. 2: The board is powered up and connected to the network
Details: SSH connection to host simPi failed: Unable to open connection: Host does not exist
----------------------------------------------------------------------
The troubleshooting pdf tells me to make sure my network is configured appropriately. I my Pi is plugged on a LAN in my research institute and my IP address is DHCP. I personally do not think this is the issue since I can ssh to it just fine.
Any suggestions?
Kind regards, Daniel
Answers (1)
Murat Belge
on 13 May 2013
Can you try using the numeric IP address of the board instead of the hostname 'simPi'? Or to be more clear, use whatever you are using as the Hostname while using PuTTY. Simulink uses PuTTY as well to talk to the board.
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!