readfis

Load an FIS from the disk

Syntax

fismat = readfis('filename') 

Description

Read a fuzzy inference system from a .fis file (named filename) on the disk and bring 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


© 1994-2005 The MathWorks, Inc.