Error installing Arduino Add on to MATLAB 2019b
Mostrar comentarios más antiguos
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.

3 comentarios
Hemaakanth Natkunarajah
el 11 de Jul. de 2024
Hi,
I was also faced same kind of issue .
Just uncheck the serial and rotary encoder .That two libraries are not supported .I havetried in Matlab 2023
Wildan Surya
el 10 de Ag. de 2024
Movida: Walter Roberson
el 10 de Ag. de 2024
if so, how we get some alternative if we want to connet wit serial interface using arduino uno?
Wildan Surya
el 10 de Ag. de 2024
If so, is there another way if we want to communicate with serial on the Arduino board?
Respuestas (5)
Arpita Agrawal
el 14 de Feb. de 2020
1 voto
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 comentarios
Aarush Sood
el 14 de Feb. de 2020
Ömer Faruk Sönmez
el 19 de Mayo de 2020
hello how do i get to the hwsetup library?
Dawit Dubela
el 9 de Jun. de 2025
Thank you so much! It worked for me too—I simply unchecked 'Serial' and 'Motor Carrier' from the list
Konstantinos Falaggis
el 12 de Feb. de 2020
0 votos
Have you tried installing the Arduino on a different computer?
Candea Raul Mihai
el 11 de Jun. de 2020
0 votos
Where I can find the HWSetup screen to uncheck the Serial Library?
3 comentarios
Fermín Bello
el 27 de Sept. de 2022
HWSetup is Hardware Setup, just uncheck "Serial" in the "Select libraries to be included in the server". Arduino UNO doesn't support serial interface, so if you need that option you must get another Arduino board (Mega, Nano, etc.).
Gustavo
el 22 de Jun. de 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
el 1 de Abr. de 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.
Shaik Arshad Salman
el 19 de Mzo. de 2022
0 votos
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
el 1 de Abr. de 2025
0 votos
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.
Categorías
Más información sobre Arduino Hardware en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!