Controlling a linear actuator using Arduino and MatLab

Hardware: Arduino Mega 2560, Adafruit MotorShield, Firgelli L12-50-100-06-P miniature linear actuator
Linear actuator data sheet:

I have a Firgelli L12 6V 50mm stroke analog miniature linear actuator and I am trying to figure out how to extend and retract the arm using MatLab commands and an Arduino Mega 2560. I was wondering if the actuator can be controlled by attaching it to the analogin pins on the arduino, or if I have to connect it using the Adafruit motor shield.

Also, would the .srv, .motosrv, or .adiosrv pde be best to run on the arduino for this application?

Any ideas or code would be helpful and thanks in advanced.