(To be removed) Open Rule Editor
ruleedit will be removed in a future release. For more information,
see To be removed.
Use the Rule Editor to view or modify the rules of your fuzzy system. To define rules, you must specify the input and output variables of your FIS and their corresponding membership functions.
The Fuzzy Logic Designer app consists of several interactive interfaces for creating a fuzzy inference system (FIS), including the Rule Editor. For more information on interactively creating fuzzy systems, see Build Fuzzy Systems Using Fuzzy Logic Designer.
Open Rule Editor
Load or create a fuzzy inference system object. For this example, load the fuzzy system from a file.
fis = readfis('tipper');
Open the Rule Editor for this fuzzy system.
fis — Fuzzy inference system
mamfis object |
Fuzzy inference system, specified as either a
sugfis object in the MATLAB® workspace.
fileName — File name
string | character vector
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.
Version HistoryIntroduced before R2006a
R2022b: To be removed
ruleedit will be removed in a future release.
To interactively view the rules for a fuzzy inference system, open the Fuzzy Logic
Designer app using the
fuzzyLogicDesigner(fis) command. Then,
select the Rule Editor document.
R2019b: Support for fuzzy inference system structures will be removed
Support for representing fuzzy inference systems as structures will be removed in a future
sugfis objects with
this function instead. To convert existing fuzzy inference system structures to objects, use
This change was announced in R2018b. Using fuzzy inference system structures with this function issues a warning starting in R2019b.