Vision-based path tracking control of a differential wheeled mobile robot using fuzzy control. A web camera is used to capture images of a path drawn on the floor and a fuzzy control algorithm running on a notebook computer controls the steering and the forward velocity of the mobile robot.
You need to download and install the libraries for serial communication with mbed LPC1768 microcontroller. All the information and downloads are provided here: https://os.mbed.com/cookbook/Interfacing-with-Matlab
You can read more about the path tracking algorithm here: https://ieeexplore.ieee.org/document/7053862
A video demonstration of the algorithm is available here: https://www.youtube.com/watch?v=K2Utc9_1dOk