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

36 次查看(过去 30 天)
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.

回答(1 个)

Govind KM
Govind KM 2024-11-7,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:

类别

Help CenterFile Exchange 中查找有关 LEGO MINDSTORMS EV3 Hardware 的更多信息

标签

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by