Arduino clearing existing connection issue
1 Commento
Risposte (3)
3 Commenti
0 voti
0 voti
To avoid the “Error using arduino (line 156) MATLAB connection to UNO at COM3 exists in your workspace. To create a new connection clear the existing object.
Unplug and replug the arduino into the computer, instead of clicking on the arduino’s name you set up. Click set up by usb, then in the top left click hardware setup and go through all of the steps. I don’t select any special libraries. This should work. Make sure to have all of your variables cleared beforehand.
I’ve been having to do this everytime I connect my computer to the arduino even when all objects/workspace variable are cleared.
Categorie
Scopri di più su Arduino Hardware in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!