This GUI demonstrates the use of fuzzy logic to control the steering of a car. Two sensors, one on each side of the car, detect the distances from the pavement, with which the "error" critereon is calculated. This, along with the change in error make the two inputs for our fuzzy system. The output is the angle of rotation (in degrees) for the steering wheel.
The car models were made in ProE and converted using cad2matdemo() here on the FEX. The fuzzy sets can be viewed through the Fuzzy Logic Toolbox and changed accordingly for a different performance.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.