MATLAB Answers


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

Asked by sagie meshulam on 19 Jan 2015
Latest activity Commented on by Debbie Lloyd on 19 Jun 2015
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

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.

0 Answers