Matlab Controller Completed