MATLAB Answers


Raspberry pi board connecting to matlab

Asked by Bhanu Vardhan on 27 Feb 2019
Latest activity Commented on by Madhu Govindarajan on 1 Mar 2019
hii I'm trying to connect raspberrypi board to matlab for a project. but matlab is not detecting my raspi board can anyone please let me know the procedure of the connection???


Sign in to comment.




1 Answer

Answer by Madhu Govindarajan on 27 Feb 2019

So I am assuming this is right after MATLAB Support package for Raspberry Pi Setup. If it fails, I usually try the following -
1) Plug in a headphone/earphone on Pi's jack and listen to IP address.
2) Ping IP adress from MATLAB.
3) If step 2 is success, then I type r = raspi('<Insert Pi's IP address>','<Insert Pi's User name>','Insert Pi's password')
Default username of Pi from MATLAB Support package is pi
Default password is raspberry


thank you sir for your answer . i will try your procedure in the coming session of my laboratory.
sir!! "if i follow your procedure will it get connected???"
That is the hope. If it fails, hopefully we will have at least some error messages that leads us somewhere.

Sign in to comment.