Error using arduino Too many input arguments while connecting servo with arduino using matlab
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
Walter Roberson
2019-1-1
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.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Support Package for Arduino Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!