unable to establish serial connection between arduino ide and matlab

1 visualizzazione (ultimi 30 giorni)
hi,i want the motor to rotate initially,then i have calculated the focus image index value in matlab,i want to send the value to arduino ide and the motor should rotate and come back to focus index value.
but its not happening
  4 Commenti
barath V
barath V il 12 Feb 2020
yes sir,i also get the same error i calculate the index value in matlab after i close the serial port,so only i get the error.
i tried to move the fprintf and fclose() command after second loop where i finished calculating index value,for that i get a different error.

Accedi per commentare.

Risposte (1)

Nikhil Sonavane
Nikhil Sonavane il 30 Dic 2020
You may refer to the following documentation for more information-

Categorie

Scopri di più su MATLAB Support Package for Arduino Hardware in Help Center e File Exchange

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by