unable to establish serial connection between arduino ide and matlab

1 次查看(过去 30 天)
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 个评论
barath V
barath V 2020-2-12
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.

请先登录,再进行评论。

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 MATLAB Support Package for Arduino Hardware 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by