Error installing Arduino Add on to MATLAB 2019b

14 visualizzazioni (ultimi 30 giorni)
Aarush Sood
Aarush Sood il 11 Feb 2020
Commentato: Dawit Dubela il 9 Giu 2025
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 Commenti
Wildan Surya
Wildan Surya il 10 Ago 2024
Spostato: Walter Roberson il 10 Ago 2024
if so, how we get some alternative if we want to connet wit serial interface using arduino uno?
Wildan Surya
Wildan Surya il 10 Ago 2024
If so, is there another way if we want to communicate with serial on the Arduino board?

Accedi per commentare.

Risposte (5)

Arpita Agrawal
Arpita Agrawal il 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 Commenti
Ömer Faruk Sönmez
Ömer Faruk Sönmez il 19 Mag 2020
hello how do i get to the hwsetup library?
Dawit Dubela
Dawit Dubela il 9 Giu 2025
Thank you so much! It worked for me too—I simply unchecked 'Serial' and 'Motor Carrier' from the list

Accedi per commentare.


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

Candea Raul Mihai
Candea Raul Mihai il 11 Giu 2020
Where I can find the HWSetup screen to uncheck the Serial Library?
  3 Commenti
Gustavo
Gustavo il 22 Giu 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 il 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.

Accedi per commentare.


Shaik Arshad Salman
Shaik Arshad Salman il 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 il 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.

Categorie

Scopri di più su Arduino Hardware in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by