Issue in establishing connection with Raspberry Pi and Matlab

2 views (last 30 days)
Hello all,
I am using a Raspberry Pi 3B+ and want to control it using Matlab. But whenever i tried to use establish a connection with Pi, I am getting below error
"Connection to IO server on hardware at device address 169.254.0.2 is not authorized"
I have tried to restart Raspberry Pi and have reflashed it several times but still getting the same error. Appreciate any help
Matlab code used:
r=raspi()
Note: I am using R2019a version of Matlab

Answers (1)

Jemima Pulipati
Jemima Pulipati on 16 Dec 2020
Hello,
Updating the Raspberry Pi IO server may resolve this issue
>>raspi.updateServer(ip,username,password)
The following documentation has some troubleshooting steps which you may try
If you are still unable to resolve the issue please contact Technical Support.

Community Treasure Hunt

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

Start Hunting!

Translated by