unable to establish serial connection between arduino ide and matlab

2 visualizaciones (últimos 30 días)
barath V
barath V el 12 de Feb. de 2020
Respondida: Nikhil Sonavane el 30 de Dic. de 2020
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 comentarios
barath V
barath V el 12 de Feb. de 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.

Iniciar sesión para comentar.

Respuestas (1)

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

Categorías

Más información sobre MATLAB Support Package for Arduino Hardware en Help Center y File Exchange.

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by