# Fuzzy Logic Toolbox Add-On 1.0

OS : Windows / Linux / Mac OS / BSD / Solaris
Script Licensing : BSD - BSD License
Created : Aug 10, 2007
Thank you for voting...

## The methodology used for programing this utilities ...

The methodology used for programing this utilities are described in J. M. Andú jar, A. J. Barragá n, "A methodology to design stable nonlinear fuzzy control systems", Fuzzy Sets and Systems, in revision.
If you use this function, you must give the original author credit.
All functions incorporated in this file used all membership functions included in MATLAB's Fuzzy Logic Toolbox. And they allows the compound of different membership functions in the same model.
This files are a MATLAB's fuzzy_logic_toolbox_add-on by Antonio Javier Barragan Pina. There are 6 new functions:
TXT2FIS -> Reads an ASCII text file with the definition of the fuzzy model and makes the corresponding MATLAB? s FIS variable.
FIS2TXT -> Converts a FIS variable of the MATLAB? s Fuzzy logic Toolbox in an ASCII text file.
FUZCOMB -> Combines several fuzzy models in a single model with several outputs, as long as the models have the same number of inputs (most of the used programs for fuzzy systems modelling just allow identifying systems with an input only; therefore, it is necessary to obtain a model for each output). The resulting model can be saved in an ASCII file or in the MATLAB? s workspace.
FUZEVAL -> Given an x point of the state space, this function calculates the closed loop fuzzy system output in this point. This function is similar to "evalfis" function included in the MATLAB? s fuzzy logic toolbox, except that "evalfis" calculates a fuzzy model and "FuzEval" calculates a closed loop fuzzy system formed by the plant fuzzy model and the controller fuzzy model. This function could be used in 'ode' function directly (see view_example. m).
FUZJAC -> Calculates the Jacobian matrix of the closed loop fuzzy system at a given point.
FUZPRINT -> Converts a fuzzy model in a text file with its linguistic representation. Optionally, it is possible to indicate the nouns of the input and output of the fuzzy model.
And 2 examples:
Phase_portrait -> This example print the phase portrait for closed loop system given by 'Plant. fis' and 'Controller. fis' models.
View_example -> This file simulate the above system.
Demands:
• MATLAB Release: R13
• Fuzzy Logic Toolbox