I have installed support package for Arduino but if I am trying to write and run the program, it will show "Failed to open serial port COM4 to communicate with Arduino board Uno. Make sure there is no other MATLAB Arduino object for this board. For troubleshooting, see Arduino Hardware Troubleshooting". Kindly help me with this.
Thank you

Réponses (1)

Pasc Peli
Pasc Peli le 21 Août 2016
Type the following in the command window and try to connect again. I hope it helps!
delete (instrfind)

1 commentaire

mallika L
mallika L le 22 Août 2016
Thank you for your answer Pasc peli, But still I get same kind of error, Is there any m-file I want to download or install.
Thank you

Connectez-vous pour commenter.

Catégories

Question posée :

le 21 Août 2016

Modifié(e) :

le 20 Juil 2018

Community Treasure Hunt

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

Start Hunting!

Translated by