Open Membership Function Editor
mfedit(fileName) mfedit(fis) mfedit
mfedit(fileName) generates a membership function
editor that allows you to inspect and modify all the membership functions
for the FIS stored in the file,
a character vector or string with or without the
mfedit(fis) operates on a
mfedit opens the membership function editor with no FIS loaded.
For each membership function you can change the name, the type,
and the parameters. Eleven built-in membership functions are provided
for you to choose from, although of course you can always create your
own specialized versions. Refer to The Membership Function Editor for more information about
how to use
Select the icon for the variable on the upper left side of the diagram (under FIS Variables) to display its associated membership functions in the plot region. Select membership functions by clicking once on them or their labels.
In the Membership Function Editor, there is a menu bar that allows you to open related UI tools, open and save systems, and so on. The File menu for the Membership Function Editor is the same as the one found in the Fuzzy Logic Designer.
Under Edit, select:
Undo to undo the most recent change.
Add MFs to add membership functions to the current variable.
Add Custom MF to add a customized membership function to the current variable.
Remove Selected MF to delete the current membership function.
Remove All MFs to delete all membership functions of the current variable.
FIS properties to open the Fuzzy Logic Designer.
Rules to invoke the Rule Editor.
Under View, select:
Rules to invoke the Rule Viewer.
Surface to invoke the Surface Viewer.
There are 11 built-in membership functions to choose from, and you also have the option of installing a customized membership function.
Not recommended starting in R2018b
Support for representing fuzzy inference systems as structures will be removed in a future release. Use
sugfis objects 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 that 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