Quadstepper driver + Arduino Mega 256 for MATLAB GUI?

Hi i could really do with some input on this problem if someone else happens to have experience with this setup.

I’m trying to control 4 stepper motors through MATLAB specifically a matlab GUI using an Arduino Mega 2560 and a sparkfun quadstepper driver. Matlab offer an ArduinoIO package that allows Arduino and matlab to communicate however the motor control sketch they unclude (motor_v1) supports by default the adafruit motor shield or the standard stepper library included in arduino, not the quadstepper library provided by sparkfun, and i can’t see a clear way of changing the code to support the quadstep library. If anyone has ever controlled stepper motors through matlab with a quadstepper driver i would greatly appreciate a point in the right direction on how you did this.

ArduinoIO package: http://www.mathworks.co.uk/matlabcentra … o-package-

The motor_v1 sketch included in there is the sketch i am tyring to change to suit the quadstep library and their functions. From what i’ve seen there’s not a lot of general support or examples on how to do this.

Thanks.