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

36 visualizaciones (últimos 30 días)
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.

Respuestas (1)

Govind KM
Govind KM el 7 de Nov. de 2024 a las 7:04
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:

Categorías

Más información sobre LEGO MINDSTORMS EV3 Hardware en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by