Get an Error connecting LEGO Mindstorms EV3 via bluetooth with MATLAB but can connect with Simulink; How do I fix this?

7 vues (au cours des 30 derniers jours)
The Matlab syntax is
myev3 = legoev3('bluetooth','COM6');
The error generated by the compiler is
Error using legoev3 (line 199)
Failed to connect to EV3 through Bluetooth. Please check your Bluetooth connection.
I have checked the properties of the bluetooth; serial connection is OK.

Réponses (1)

Govind KM
Govind KM le 7 Nov 2024
Hi Estelle,
The main reason for this error is an incompatibility between the bluetooth stacks on the host machine and the LEGO EV3 brick. Kindly refer to the following MATLAB Answers post for resolution steps along with some other possible error causes:

Catégories

En savoir plus sur LEGO MINDSTORMS EV3 Hardware dans Help Center et File Exchange

Tags

Produits


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by