Clear Filters
Clear Filters

unable to establish serial connection between arduino ide and matlab

1 view (last 30 days)
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 Comments
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.

Answers (1)

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

Categories

Find more on MATLAB Support Package for Arduino Hardware in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!