MATLAB Answers

When using the a = arduino command, MATLAB takes upwards of 5 seconds to recognize my board and run my code, is there a way to speed this up?

1 view (last 30 days)
Parker Kuhlman
Parker Kuhlman on 15 Mar 2018
Answered: Sonam Gupta on 28 Mar 2018
Hello, when using the arduino board in my mechatronics class, the detection of the board can take anywhere from 5 to 10 seconds before the code will run through and operate the board. My board is the only one in the class that takes a long time, so I was wondering if someone could help or had any ideas with the issue and speed up the process.

  0 Comments

Sign in to comment.

Answers (1)

Sonam Gupta
Sonam Gupta on 28 Mar 2018
One possible reason for this issue could be due to PC designating many ports for Bluetooth devices. Turning Bluetooth off on PC can make the 'arduino' command execution faster.

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!