<< plotvar sciFLT psigmf >>

sciFLT >> sciFLT > printrule

printrule

Print fls rules in the screen or put it in a file

Calling Sequence

printrule(fls [,method [,filename]])

Parameters

fls:

fls structure.

method:

string. "ling" for linguistic representation, "symb" for symbolic representation, and "indx" for indexed representation. The default value is "ling".

filename:

string. The file name were to put the rules.

Description

printule print the fls rules in a human readable form. The result can be put in a file named filename.

Examples

// READ A FLS
fls=loadfls(flt_path()+"demos/fan1.fls");
// Print rules to screen. Linguistic representation
printrule(fls);
// Print rules to screen. Simbolic representation
printrule(fls,"symb");
// Print rule to scree. Indexed representation
printrule(fls,"indx");
// Print rules in a file
printrule(fls,"symb",TMPDIR+"/rules.txt");

See also

Authors


Report an issue
<< plotvar sciFLT psigmf >>