| Fuzzy Logic Toolbox | ![]() |
Invoke the basic FIS editor
fuzzy fuzzy(fismat)
The diagram displayed at the top of the window shows the inputs, outputs, and a central fuzzy rule processor. Click on one of the variable boxes to make the selected box the current variable. You should see the box highlighted in red. Double-click on one of the variables to bring up the Membership Function Editor. Double-click on the fuzzy rule processor to bring up the Rule Editor. If a variable exists but is not mentioned in the rule base, it is connected to the rule processor block with a dashed rather than a solid line.
The FIS Editor displays a menu bar that allows you to open related GUI tools, open and save systems, and so on.
Under File select
New Mamdani FIS... to open a new Mamdani-style system with no variables and no rules called Untitled.
New Sugeno FIS... to open a new Sugeno-style system with no variables and no rules called Untitled.
Open from disk... to load a system from a specified .fis file on disk.
Save to disk to save the current system to a .fis file on disk.
Save to disk as... to save the current system to disk with the option to rename or relocate the file.
Open from workspace... to load a system from a specified FIS structure variable in the workspace.
Save to workspace... to save the system to the currently named FIS structure variable in the workspace.
Save to workspace as... to save the system to a specified FIS structure variable in the workspace.
Close window to close the GUI.
Under Edit select
Add input to add another input to the current system.
Add output to add another output to the current system.
Remove variable to delete a selected variable.
Undo to undo the most recent change.
Under View select
Edit MFs... to invoke the Membership Function Editor.
Edit rules... to invoke the Rule Editor.
Edit anfis... to invoke the ANFIS Editor for single output Sugeno systems only.
View rules... to invoke the Rule Viewer.
View surface... to invoke the Surface Viewer.
Five pop-up menus are provided to change the functionality of the five basic steps in the fuzzy implication process:
And method: Choose min, prod, or Custom, for a custom operation.
Or method: Choose max, probor (probabilistic or), or Custom, for a custom operation.
Implication method: Choose min, prod, or Custom, for a custom operation. This selection is not available for Sugeno-style fuzzy inference.
Aggregation method: Choose max, sum, probor, or Custom, for a custom operation. This selection is not available for Sugeno-style fuzzy inference.
Defuzzification method: For Mamdani-style inference, choose centroid, bisector, mom (middle of maximum), som (smallest of maximum), lom (largest of maximum), or Custom, for a custom operation. For Sugeno-style inference, choose between wtaver (weighted average) or wtsum (weighted sum).
mfedit, ruleedit, ruleview, surfview, anfisedit
| fuzdemos | gauss2mf | ![]() |
© 1994-2005 The MathWorks, Inc.