MATLAB Answers

0

Error using arduino Too many input arguments while connecting servo with arduino using matlab

Asked by Muhammad Haziq on 1 Jan 2019
Latest activity Commented on by Walter Roberson
on 1 Jan 2019
Hi,
I want to connect servo using arduino and Matlab. But when I trıed to connect it gives me this error.
Error using arduino
Too many input arguments.
Error in example_servo (line 5)
a = arduino('COM5', 'Uno', 'Libraries', 'Servo'); %%error in this line.
so what should I do to resolve this?

  1 Comment

I suspect you are using the old arduino support package, the one intended for R2013b and earlier. See https://www.mathworks.com/matlabcentral/fileexchange/47522-matlab-support-package-for-arduino-hardware and be sure to read the bug report as it affects your version.

Sign in to comment.

Tags

Products


Release

R2015a

0 Answers