Simulated a differential drive robot on Microsoft Robotics Studio, equipping it with a RGB camera. The image stream from the simulated camera is processed by a Matlab program that is compiled into a .dll (which has a Matlab wrapper). It output control command to the robot to keep it in the middle of the road.
Program written in C# and Matlab script for image processing.
It is stable and can run at full speed, based on the robot model.