Help controlling Servo through Matlab

18 Mar 2014

Hi, I'm having trouble trying to use or create code that will allow me to make a servo be constantly on until told otherwise using Matlab. I have got RPC serial code on the mbed and have downloaded the matlab classes from the "Interfacing with Matlab" page, I've also created a function for the servo in matlab but still no luck. I can connect to the mbed successfully and even managed to make a simple Matlab program that uses a GUI to turn an LED on or off but I can't do the same with the servo. I have been trying to figure this out for a while on my own but with no luck.

Any help will be greatly appreciated, thanks.