Trying to install arduino in MATLAB

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

Risposte (1)

Type the following in the command window and try to connect again. I hope it helps!
delete (instrfind)

1 Commento

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

Accedi per commentare.

Categorie

Richiesto:

il 21 Ago 2016

Modificato:

il 20 Lug 2018

Community Treasure Hunt

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

Start Hunting!

Translated by