| Fuzzy Logic Toolbox | ![]() |
Membership function editor
mfedit('a')
mfedit(a)
mfedit

mfedit('a') generates a membership function editor that allows you to inspect and modify all the membership functions for your FIS stored in the file, a.fis.
mfedit(a) operates on a MATLAB workspace variable, for a FIS structure, a.
mfedit alone 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 mfedit.
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.
On the Membership Function Editor, there is a menu bar that allows you to open related GUI tools, open and save systems, and so on. The File menu for the Membership Function Editor is the same as the one found on the FIS Editor. Refer to The Membership Function Editor for more information.
Under Edit, select:
Add MF... to add membership functions to the current variable.
Add custom MF... to add a customized membership function to the current variable.
Remove current MF to delete the current membership function.
Remove all MFs to delete all membership functions of the current variable.
Undo to undo the most recent change.
Under View, select:
Edit FIS properties... to invoke the FIS Editor.
Edit rules... to invoke the Rule Editor.
View rules... to invoke the Rule Viewer.
View 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.
fuzzy, ruleedit, ruleview, surfview
| mf2mf | newfis | ![]() |
© 1994-2005 The MathWorks, Inc.