Load fuzzy inference system from file
You can load a fuzzy inference system (FIS) from a
readfis function. To save a FIS to a file, use the
Do not manually edit the contents of a
.fis file. Doing so can
produce unexpected results when loading the file using
Load the fuzzy system stored in the file
fis = readfis('tipper')
fis = mamfis with properties: Name: "tipper" AndMethod: "min" OrMethod: "max" ImplicationMethod: "min" AggregationMethod: "max" DefuzzificationMethod: "centroid" Inputs: [1x2 fisvar] Outputs: [1x1 fisvar] Rules: [1x3 fisrule] DisableStructuralChecks: 0 See 'getTunableSettings' method for parameter optimization.
fileName— File name
File name, specified as a string or character vector either with or without the
.fis extension. This file must be in the current working directory
or on the MATLAB® path.
fis— Fuzzy inference system
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