Matlab interface with Raspberry Pi

>> mypi = raspi('192.168.10.10','pi','raspberry')
Output: Connection to IO server on hardware at device address 192.168.10.10 is not authorized.
System: Matlab 2018a, Windows 10, 64 bit. Previously worked, but after some unkonwn change not anymore. Rebooting the pi or the windows machine did not change the outcome. Interestingly, pinging the raspberry pi worked the entire time as well as establishing a connection through PuTTY.
Any idea, on how to overcome this?
Thanks in advance!

5 Comments

I just restart my raspi, it works. Is it your wifi connection problem? Sometimes, my wifi at raspi cannot turn on, I must manually put wifi password to activate it.
I am using matlab 2018a, windows 7, 64 bit, raspi 3B+.
Thanks for the comment.
When we previously encountered that error, restarting it would indeed do the trick, but not anymore. TBH not quite sure what changed that.
To rule out a wireless problem, we connected the pi with an ethernet cable to the router and the router to the laptop, but the proplem persists.
Also, as previously mentioned, the entire time it is possible, to ping the pi (also when we connect wirelessly) and to login with PuTTY through ssh.
Ended up reformating the SD card and reflashing it the mathwork image, which resolved this.
Provance LV
Provance LV on 23 Jul 2019
Edited: Provance LV on 23 Jul 2019
But I tried many times to restrat or reflash the SD, it didn't work.
i use an ethernet cable to connect, not WIFI.
my versions are windows10,64 bit, 2018b, and the raspberry is 3b.
How to overcome it? Thanks!
Hi @Provance LV,
I am facing the same issue. Are you able to solve the problem?

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB Support Package for Raspberry Pi Hardware in Help Center and File Exchange

Products

Release

R2018a

Community Treasure Hunt

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

Start Hunting!