Connect Arduino to matlab through bluetooth

4 vues (au cours des 30 derniers jours)
Bernardo
Bernardo le 19 Fév 2025
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

Réponses (1)

Kanishk
Kanishk le 3 Mar 2025
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.

Produits


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by