MATLAB Answers

unable to establish serial connection between arduino ide and matlab

1 view (last 30 days)
barath V
barath V on 12 Feb 2020
Answered: Nikhil Sonavane on 30 Dec 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


Show 1 older comment
barath V
barath V on 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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by