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

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.

Answers (0)

Categories

Products

Release

R2015a

Tags

Asked:

on 1 Jan 2019

Commented:

on 1 Jan 2019

Community Treasure Hunt

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

Start Hunting!