Products & Services Solutions Academia Support User Community Company

Learn more about Fuzzy Logic Toolbox   

readfis - Load Fuzzy Inference System from file

Syntax

fismat = readfis('filename') 

Description

Read a fuzzy inference system from a .fis file (named filename) and import the resulting file into the workspace.

fismat = readfis (no input arguments) opens a uigetfile dialog box to assist with the name and directory location of the file.

Examples

fismat = readfis('tipper');
getfis(fismat)

returns

	Name = tipper
	Type = mamdani
	NumInputs = 2
	InLabels =
		service
		food
	NumOutputs = 1
	OutLabels =
		tip
	NumRules = 3
	AndMethod = min
	OrMethod = max
	ImpMethod = min
	AggMethod = max
	DefuzzMethod = centroid
ans =
tipper

See Also

writefis

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS