Open Membership Function Editor
Using the Membership Function Editor, you specify the range of each input and output variables. Then, for each variable, you define the number of membership functions, the type of each membership function, and the membership function parameters.
The Fuzzy Logic Designer app consists of several interactive interfaces for creating a fuzzy inference system (FIS), including the Membership Function Editor. For more information on interactively creating fuzzy systems, see Build Fuzzy Systems Using Fuzzy Logic Designer.
mfedit opens the Membership Function Editor with no fuzzy inference
mfedit( opens the Membership Function
Editor and loads a fuzzy inference system from the file specified by
Load or create a fuzzy inference system object. For this example, load the fuzzy system from a file.
fis = readfis('tipper');
Open the Membership Function Editor for this fuzzy system.
fis— Fuzzy inference system
Fuzzy inference system, specified as either a
sugfis object in the MATLAB® workspace.
fileName— File name
File name specified as a string or character vector with or without the
.fis extension. This file must be in the current working directory
or on the MATLAB path.
Warns starting in R2019b
Support for representing fuzzy inference systems as structures will be removed in a future
instead. There are differences between these representations that require updates to your
code. These differences include:
Object property names that differ from the corresponding structure fields.
Objects store text data as strings rather than as character vectors.
Also, all Fuzzy Logic
Toolbox™ functions that accepted or returned fuzzy inference systems as structures now
accept and return either
To convert existing fuzzy inference system structures to objects, use the