Fuzzy Logic Designer
Design and test fuzzy inference systems
The Fuzzy Logic Designer app lets you design and test a fuzzy inference system (FIS) for modeling complex system behavior.
Using this app, you can:
Design Mamdani and Sugeno FISs.
Design type-1 and type-2 FISs.
Add or remove input and output variables.
Specify input and output membership functions.
Define fuzzy if-then rules.
Select fuzzy inference functions for:
Adjust input values and view associated fuzzy inference diagrams.
View output surface maps for fuzzy inference systems.
Export FIS designs to the MATLAB® workspace.
The Fuzzy Logic Designer app does not support the following tasks.
FIS tree creation — Instead, create FIS trees at the MATLAB command line using
fistreeobjects. You can create the component FIS objects using Fuzzy Logic Designer and export them to the MATLAB workspace.
Automatic tuning of FIS rules and parameters — Instead, tune fuzzy systems at the MATLAB command line using
tunefis. You can create the initial FIS structure using Fuzzy Logic Designer and export it to the MATLAB workspace for tuning.
Open the Fuzzy Logic Designer App
MATLAB Toolstrip: On the Apps tab, under Control System Design and Analysis, click the app icon.
MATLAB command prompt: Enter
Import FIS from Workspace
In Fuzzy Logic Designer, under Import > Import Fuzzy Inference System from Workspace, click the fuzzy inference system.
A new Fuzzy Logic Designer instance opens and loads the selected FIS.
Import FIS from File
In Fuzzy Logic Designer, select Import > Import Fuzzy Inference System from Workspace.
Then, in the Import Fuzzy Inference System dialog box, select a FIS file and click Open.
Using Fuzzy Logic Designer, you can convert between Mamdani and Sugeno systems and between type-1 and type-2 systems.
When you convert a FIS, the app adds the converted FIS to the Design Browser. To make the converted system active, select it in the Design Browser and click Set Active Design.
For more information on converting between Mamdani and Sugeno systems, see Mamdani and Sugeno Fuzzy Inference Systems.
fuzzyLogicDesigner opens the Fuzzy Logic Designer app and
loads the Getting Started dialog box where you can open an existing FIS or create an
initial FIS structure. For more information, see Get Started Using Fuzzy Logic Designer.
fuzzyLogicDesigner( opens the app and loads the
fuzzy inference system
fis can be any
sugfistype2 object in
the MATLAB workspace.
fuzzyLogicDesigner( opens the app and loads
a fuzzy inference system from a file.
fileName is the name of a
*.fis) file on the MATLAB path.
To save a fuzzy inference system to a FIS file:
In Fuzzy Logic Designer, under Save, select the fuzzy inference system.
At the command line, use
Version HistoryIntroduced in R2014b
R2022b: Redesigned Fuzzy Logic Designer App
The redesigned app streamlines workflows for interactively building fuzzy inference systems. Using the updated app, you can:
Design both Mamdani and Sugeno fuzzy inference systems
Design fuzzy inference systems with either type-1 or type-2 membership functions
R2019b: Support for fuzzy inference system structures will be removed
Support for representing fuzzy inference systems as structures will be removed in
a future release. Use
objects with this function instead. To convert existing fuzzy inference system
structures to objects, use the
This change was announced in R2018b. Using fuzzy inference system structures with this app issues a warning starting in R2019b.
R2014b: Command to open app renamed to
Previously, the command to open the app was