how do i conect the matlab to the arduino and adafruit?

15 views (last 30 days)
hello, im working on a project with matlab and arduino+adafruit motor shild; to control a stepper motor. i've conected to the arduino board thorow to arduino software and succeed to contorl the motor. my problem is when im using matlab code to control the motor i get this
a = arduino('COM4'); Attempting connection ................ Basic I/O Script detected ! Arduino successfully connected !
but what i really need is to conect with the adafruit motor shild and what i get is
a = arduino('com4', 'uno', 'Libraries', 'Adafruit\MotorShieldV2'); Error using arduino Too many input arguments.
can someone help me?
  1 Comment
Debbie Lloyd
Debbie Lloyd on 19 Jun 2015
I have the same problem. Did you manage to figure out what was wrong? I see the arduino function in arduino.m does only take one input argument. Is there a different arduino.m file required?
Thank you in advance for any assistance.

Sign in to comment.

Answers (0)

Categories

Find more on Arduino Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!