Rank: 146281 based on 0 downloads (last 30 days) and 0 file submitted



Personal Profile:


Watch this Author's files


Comments and Ratings by Ejri
Updated File Comments Rating
14 Dec 2012 MATLAB Support for Arduino (aka ArduinoIO Package) MATLAB class and Simulink blocks for communicating with an Arduino microcontroller board Author: MathWorks Classroom Resources Team

I am working on a project to run 2 stepper motors simultaneously using Matlab. I was able to run the 2 motors in Matlab using an Uno and a motorshield (after uploading the srv.pde. The srv.pde is required for the shield to work in my case.), but I wasn't able to run the motors simultaneously.

I tried I2C with an another Uno and using the Wire library (http://arduino.cc/en/Tutorial/MasterWriter) in addition to the AccelStepper library, I was able to run the motors simultaneously using the Arduino 1.0.2 software.

Is there a way of adding the Wire and AccelStepper libraries to the srv.pde so that I can use I2C and AccelStepper in Matlab?

Is there another way of running 2 motors simultaneously using Matlab?

Thank you

Contact us