Attempting connection with Arduino and Matlab
3 views (last 30 days)
Hi! I am using simulink and connection an arduino uno board to my mac via USB. My problem is, whenever I run my code, the command window says, " attempting connection . . . . . " This takes a long time, about 10 seconds. Any way to make it faster?
Arnab Sen on 28 Apr 2016
Edited: Arnab Sen on 28 Apr 2016
The origin of this issue could be that the MATLAB serial command is taking longer to respond. Try opening the arduino.m file and replacing the lines 89 to 92:
with these ones:
to see if that solves the issue.
Following links might be helpful:
In case the issue still persists, you may consider contacting MathWorks Technical Support Team of your region and their Engineer will look into more details into the matter and assist you to resolve it.