Internal error: The initialization of the server code is incorrect. Trying to connect Raspberry Pi 5 to Matlab Online
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello, I'm having an error message when trying to conect Raspberry Pi 5 to Matlab Online.
The Raspberry is running with 32-bits OS.
I get this on Matlab Online
raspilist
ans =
1x4 table
Name SerialNumber PackageVersion Status
______ __________________ ______________ __________________
"mypi" "f8dc8192ce8276c8" "24.2.0" "Ready to connect"
But when call raspi I got an internal error
mypi=raspi('f8dc8192ce8276c8');
Internal error: The initialization of the server code is incorrect.
Do you have any suggestions to fix this? Thank you.
1 Kommentar
Rahaf
am 29 Apr. 2025
Did you find a solution? I’m running into exactly the same issue and would appreciate your help.
Thanks
Antworten (1)
Abhishek Kumar Singh
am 28 Feb. 2025
It seems that the MATLAB server on the Raspberry Pi might be misconfigured. Before proceeding, please ensure that your Raspberry Pi OS is compatible with MATLAB Online. The supported operating systems are Buster, Bullseye, and Bookworm.
To reconfigure your Raspberry Pi for MATLAB Online, run the following command:
sudo matlab-rpi-setup
If this doesn't resolve the issue, you can try removing and reinstalling the matlab-rpi package:
Remove the matlab-rpi Package
sudo apt-get remove matlab-rpi
sudo apt-get purge matlab-rpi
sudo apt-get autoremove
Re-add the matlab-rpi Package
sudo apt-get update
sudo apt-get install matlab-rpi
These commands should help you remove and then reinstall the matlab-rpi package. Sometimes, restarting your MATLAB Online session can also help resolve internal errors.
If these steps don't resolve the issue, I recommend checking the detailed troubleshooting guide available at https://www.mathworks.com/help/matlab/supportpkg/troubleshoot-raspberry-pi-in-matlab-online.html
0 Kommentare
Siehe auch
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!