Why won't my Arduino Nano 33BLE create a communication link with the serial port in Simulink R2023a?

4 次查看(过去 30 天)
I have an Arduino Nano 33BLE which is supported by MATLAB R2023a. I've installed the support packages for Arduino in both MATLAB and Simulink and I received confirmation that the Arduino is detected and ready for use.
 
I can connect with MATLAB and create an Arduino object, but whenever I try any design in Simulink I get the following error:
Unable to create communication link with serial port in Simulink.
Please check with input argument PORT and verify that the device is connected.
How can I get Simulink to connect to the Arduino? 

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2024-4-18
For the Arduino Nano 33BLE, both the Host COM port and Bootloader COM port need to be specified for Simulink to build and deploy a design to the board.
 
The process can be found at the following guide:
 

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Support Package for Arduino Hardware 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by