Error installing Arduino Add on to MATLAB 2019b

17 vues (au cours des 30 derniers jours)
Aarush Sood
Aarush Sood le 11 Fév 2020
Commenté : Dawit Dubela le 9 Juin 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 commentaires
Wildan Surya
Wildan Surya le 10 Août 2024
Déplacé(e) : Walter Roberson le 10 Août 2024
if so, how we get some alternative if we want to connet wit serial interface using arduino uno?
Wildan Surya
Wildan Surya le 10 Août 2024
If so, is there another way if we want to communicate with serial on the Arduino board?

Connectez-vous pour commenter.

Réponses (5)

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

Connectez-vous pour commenter.


Konstantinos Falaggis
Konstantinos Falaggis le 12 Fév 2020
Have you tried installing the Arduino on a different computer?

Candea Raul Mihai
Candea Raul Mihai le 11 Juin 2020
Where I can find the HWSetup screen to uncheck the Serial Library?
  3 commentaires
Gustavo
Gustavo le 22 Juin 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 le 1 Avr 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.

Connectez-vous pour commenter.


Shaik Arshad Salman
Shaik Arshad Salman le 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 le 1 Avr 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.

Catégories

En savoir plus sur Arduino Hardware dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by