[SOLVED] MATLAB Support Package for Arduino: cannot program board (R2018a)
Show older comments
Hello, I am using MATLAB R2018a on Linux Mint 20.3 and have installed the Support Package for Arduino Hardware. I am using an Arduino UNO R3 board which I have connected to the port identified as
/dev/ttyAMC0
From my MATLAB GUI, I run the command
arduinosetup
to program the server onto my board (with the board connected via USB), select USB, then the board name "Uno" and the port "/dev/ttyACM0" both of which are recognized from the drop down lists, along with the libraries selected by default (Servo, SPI and I2C). But when I click PROGRAM, the process fails.

The RX and TX LEDs on the Arduino do not blink either, like they do when Im progamming from the IDE. I have followed all the steps as listed on the Installation guide but am stuck at setup. I have attached error log. I have attached the error log as a text file because it was too large (nik is my username, /home/nik/Code/MATLAB is my path where I store scripts and where MATLAB opens)
Any help will be greatly appreciated.
Answers (1)
Shovnik Paul
on 5 Jul 2022
Categories
Find more on Arduino Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!