File Exchange

image thumbnail

Simple Fuzzy Control Demonstration

version 1.0 (56.3 KB) by

Steering a car in the middle of a road based on fuzzy logic.



View License

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.

Comments and Ratings (8)



Think (view profile)

good work,it's very helpful.


ammar (view profile)

good work

Luis Edu

Hey wadap in your fuzzy program what r the meanings of "NegLar" "NegSma" "CCWLar" "CCwSma".. thnaks


aiab (view profile)

Volkan AKGUL


NOUR (view profile)


Nikhil (view profile)

this is a very gud output and I am amazed by Husam's work on it.....

MATLAB Release
MATLAB 7.6 (R2008a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today