MATLAB Answers

How do I resolve Connection problems with Raspberry Pi hardware and the host PC using Simulink 8.1 (R2013a)?

72 views (last 30 days)
I get a connection error when I try to run a Simulink model on the Raspberry Pi hardware. I followed the firmware update process. What went wrong?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 18 Oct 2013
Please see attached document for detailed instructions and troubleshooting tips on how to setup the network connection between Raspberry Pi and Simulink.

  3 Comments

Sign in to comment.

More Answers (2)

Abu Shufian Shuvo
Abu Shufian Shuvo on 8 Oct 2017
How do I resolve Connection problems with Raspberry Pi hardware and the host PC using Simulink 8.1 (R2017b)?

  0 Comments

Sign in to comment.


Ricardo Miranda
Ricardo Miranda on 30 Jan 2018
Hi everyone,
I am also getting the error
r = raspberrypi
Undefined function or variable 'ssh2client_mex'.
Error in matlabshared.internal.ssh2client
Error in raspberrypi (line 163)
obj.Ssh = matlabshared.internal.ssh2client(hostname, ...
At the folder:
C:\MATLAB\SupportPackages\R2016a\toolbox\target\supportpackages\shared_linuxservices\+matlabshared\+internal
I have the the file named: ssh2client.p
It seems that there is a problem with the shared resource. Does anyone have any idea on how to fix this? Thanks!

  2 Comments

Jacob Heathorn
Jacob Heathorn on 4 May 2018
The ‘ssh2client_mex’ file comes along with the support package for Raspberry Pi. Kindly re-install the support package and try connecting to the Raspberry Pi. For information on how to install the support package, please refer to the link below:
For information on how you can connect to Raspberry Pi from MATLAB, please refer to the link below:

Sign in to comment.

Sign in to answer this question.

Tags

No tags entered yet.

Products


Release

R2013a