Trying to install arduino in MATLAB

1 visualizzazione (ultimi 30 giorni)
mallika L
mallika L il 21 Ago 2016
Modificato: Hans Scharler il 20 Lug 2018
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)

Pasc Peli
Pasc Peli il 21 Ago 2016
Type the following in the command window and try to connect again. I hope it helps!
delete (instrfind)
  1 Commento
mallika L
mallika L il 22 Ago 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

Accedi per commentare.

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