Fuzzy Logic Toolbox 
Functions by Category
This section of the chapter contains brief descriptions of all the functions in the Fuzzy Logic Toolbox. The following tables contain the functions listed by topic.
GUI ToolsFunction 
Purpose 

ANFIS Editor GUI. 

Basic FIS Editor. 

Membership Function Editor. 

Rule Editor and parser. 

Rule Viewer and fuzzy inference diagram. 

Output Surface Viewer. 
Function 
Purpose 

Difference of two sigmoid membership functions. 

Twosided Gaussian curve membership function. 

Gaussian curve membership function. 

Generalized bell curve membership function. 

Pishaped curve membership function. 

Product of two sigmoidal membership functions. 

Sshaped curve membership function. 

Sigmoid curve membership function. 

Trapezoidal membership function. 

Triangular membership function. 

Zshaped curve membership function. 
Function 
Purpose 

Add membership function to FIS. 

Add rule to FIS. 

Add variable to FIS. 

Defuzzify membership function. 

Perform fuzzy inference calculation. 

Generic membership function evaluation. 

Generate FIS output surface. 

Get fuzzy system properties. 

Translate parameters between functions. 

Create new FIS. 

Parse fuzzy rules. 

Display FIS inputoutput structure. 

Plot all of the membership functions associated with a given variable. 

Load FIS from disk. 

Remove membership function from FIS. 

Remove variable from FIS. 

Set fuzzy system properties. 

Display annotated FIS. 

Display FIS rules. 

Save FIS to disk. 
Function 
Purpose 

Training routine for a Sugenotype FIS (MEX only). 

Find clusters with FCM clustering. 

Generate FIS matrix using grid method. 

Generate FIS matrix using subtractive clustering. 

Find cluster centers with subtractive clustering. 
Function 
Purpose 

Fuzzy logic controller blocks and demo blocks. 

Fuzzy inference Sfunction. 
Function 
Purpose 
defuzzdm 
Defuzzification methods. 
fcmdemo 
FCM clustering demo (2D). 

GUI for Fuzzy Logic Toolbox demos. 
gasdemo 
ANFIS demo for fuel efficiency using subclustering. 
juggler 
Balljuggler with Rule Viewer. 
invkine 
Inverse kinematics of a robot arm. 
irisfcm 
FCM clustering demo (4D). 
noisedm 
Adaptive noise cancellation. 
slbb 
Ball and beam control (Simulink ). 
slcp 
Inverted pendulum control (Simulink ). 
sltank 
Water level control (Simulink). 
sltankrule 
Water level control with Rule Viewer (Simulink). 
sltbu 
Truck backerupper (Simulink only). 
Bibliography  Alphabetical List of Functions 