Error installing Arduino Add on to MATLAB 2019b

14 views (last 30 days)
Hey,
I am trying to install Arduino add on to MATLAB 2019b. But I am getting following error 'The serial interface is not supported on board Due/UNO'. I tried the same with Arduino DUW and Arduino UNO as well. How can I correct this error.
Attached is the screenshot of the error window.
arduino error.PNG
  3 Comments
Wildan Surya
Wildan Surya on 10 Aug 2024
Moved: Walter Roberson on 10 Aug 2024
if so, how we get some alternative if we want to connet wit serial interface using arduino uno?
Wildan Surya
Wildan Surya on 10 Aug 2024
If so, is there another way if we want to communicate with serial on the Arduino board?

Sign in to comment.

Answers (5)

Arpita Agrawal
Arpita Agrawal on 14 Feb 2020
Hi Aarush,
Please uncheck the Serial library in the HWSETUP screen for Uno and Due as that is not supported for these boards and click Program.
If you need further help on this please contact MathWorks Technical Support.
Thanks
Arpita
  3 Comments
Dawit Dubela
Dawit Dubela on 9 Jun 2025
Thank you so much! It worked for me too—I simply unchecked 'Serial' and 'Motor Carrier' from the list

Sign in to comment.


Konstantinos Falaggis
Konstantinos Falaggis on 12 Feb 2020
Have you tried installing the Arduino on a different computer?

Candea Raul Mihai
Candea Raul Mihai on 11 Jun 2020
Where I can find the HWSetup screen to uncheck the Serial Library?
  3 Comments
Gustavo
Gustavo on 22 Jun 2024
In my case (matlab r2023b and arduino uno r3) moto carrier was also needed to be uncheck (along with "serial") in order to install support package for arduino hardware.
Vamsi Venkata Krishna
Vamsi Venkata Krishna on 1 Apr 2025
Same thing that I need to uncheck motor carrier and serial for matlab interface with arduino for setup. I thing i can setup them with higher arduino boards i guess.

Sign in to comment.


Shaik Arshad Salman
Shaik Arshad Salman on 19 Mar 2022
Hye,
I was also facing same issue but able to solve it. If you see the above in this conversation attachment there are libraries listed just uncheck the serial box and thats it.

Vamsi Venkata Krishna
Vamsi Venkata Krishna on 1 Apr 2025
Uncheck serial and motor carrier for newer versions of matlab and arduino uno r3. The serial and motor carrier works fine with arduino mega even sometimes with nano depending on the boards.

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!