Hi everyone,
I'm struggling to connect to my Arduino using the Arduino Support Package. Some background:
- Matlab version: R2019a
- OS: Windows 10, 64-bit
- Arduino boards tried: Nano v3.2, Nano v3.1, Uno, Sparkfun Redboard, Chinese knock-off Nano (running Nano 3.1 bootloader)
With every board I've tried:
- a = arduino();
- a = arduino('COM4','Uno'); % or the respective port that the board is showing up as in the Device Manager
- a = arduino('COM4','Nano3');
The response to a = arduino(); is always: "Cannot detect Arduino hardware. Make sure Arduino hardware is properly plugged in."
The response to the other two is always: "Cannot program board Uno/Nano3 (COM4). Please make sure the board is supported adn the port and board type are correct. For more information, see Arduino Hardware Troubleshooting."
There are all boards that I can open and program within the Arduino IDE (1.8.12).
Any guidance here?
2 Comments
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/545504-failure-to-connect-arduino-to-matlab-r2019a#comment_1081523
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/545504-failure-to-connect-arduino-to-matlab-r2019a#comment_1081523
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/545504-failure-to-connect-arduino-to-matlab-r2019a#comment_1081598
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/545504-failure-to-connect-arduino-to-matlab-r2019a#comment_1081598
Sign in to comment.