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

  


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