Fuzzy Logic Designer

Design and test fuzzy inference systems

Description

The Fuzzy Logic Designer app lets you design and test fuzzy inference systems for modeling complex system behaviors.

Using this app, you can:

  • Design Mamdani and Sugeno fuzzy inference systems.

  • Add or remove input and output variables.

  • Specify input and output membership functions.

  • Define fuzzy if-then rules.

  • Select fuzzy inference functions for:

    • And operations

    • Or operations

    • Implication

    • Aggregation

    • Defuzzification

  • Adjust input values and view associated fuzzy inference diagrams.

  • View output surface maps for fuzzy inference systems.

  • Export fuzzy inference systems to the MATLAB® workspace.

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 fuzzyLogicDesigner.

Programmatic Use

expand all

fuzzyLogicDesigner opens the Fuzzy Logic Designer app.

fuzzyLogicDesigner(fis) opens the app and loads the fuzzy inference system fis. fis can be any mamfis or sugfis object in the MATLAB workspace.

fuzzyLogicDesigner(fileName) 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, select File > Export > To File.

  • At the command line, use writeFIS.

Compatibility Considerations

expand all

Not recommended starting in R2018b

Introduced in R2014b