Connect Arduino to matlab through bluetooth

4 次查看(过去 30 天)
Hello, i was wondering if someone has tried connecting any arduino Board to matlab in R2024B through Bluetooth, because i tried with the Arduino Nano RP2040, as well as a HC-06 with a arduino Uno Rev3, and neither worked, then i was wondering if it's because the Nano board is not supported by the add-on of arduino in matlab or could it be that my pc can't connect to a BLE version of bluetooth?
If someone was able to make this connection it would be greatly appreciated, if you could mention the board used and if the bluetooth of the pc was fully connected to the board or mearly needs to identify

回答(1 个)

Kanishk
Kanishk 2025-3-3
As of the R2024b release, the Arduino Nano RP2040 is not directly supported within MATLAB. However, it is supported in Simulink R2024b, allowing you to connect and interface with the board using Simulink models.
In Simulink, you can select the preferred board in "Model Configuration Parameters" > "Hardware Implementation". You can then test the connection of your Arduino Nano RP2040 from the "Hardware" tab.
To learn more you can go through the following official MATLAB documentation for Getting started with Arduino.

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by