Arduino NanoRP2040 Connect to Matlab via bluetooth

10 次查看(过去 30 天)
I'm consistently getting an error when trying to connect the Arduino Board RP2040 to Matlab via bluetooth, i needed to plot some images from sensor data, using matlab, but withouth the connection being allowed, i can't plot or see any interation between Arduino and Matlab, any solutions?
when using the code:
btlist = blelist; disp(btlist);
The board does appear in the BLE list, however, when:
device = ble("NanoRP2040");
The interactions does start, but stops almost imediatly, showing the error:
"Error using ble (line 149)
Failed to connect to device. Make sure device is within proper range and not connected elsewhere. For more
information, see Troubleshooting section in Documentation."
Any suggestions?!

回答(1 个)

旨江
旨江 2025-2-26
Matlab simulink run on hardware configuration display that supported hardware boards are not inclued nano rp 2040, I think this is reason, but in the internet, included nano rp 2040, I am so strange. I also want to communicate 2040 with matlab
  4 个评论
Bernardo
Bernardo 2025-2-27
I did manage to use wifi, using UDP and TCP data transfering, but it's not responsive enough, so might have to change the board to be compatible to the r2024b, and maybe bluetooth will provide me with better resuts(? no clue)
Paul
Paul 2025-12-20,10:04
My goodness, Matlab / simulink is such a pain with regard to versions. Have been trying a lot of boards (RP 2024 / BLE / BLE sense rev2) : none of these work.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Test and Measurement 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by