function

savefls - Save fls structure in a file

Calling Sequence

savefls(fls,fls_filename)

Parameters

Description

savefls save the fuzzy logic system fls in the file fls_filename . The extension .fls is only added to filename if it is not already included in the name.

Examples

// Create a new structure
fls1=newfls('ts');
fls1.comment="This is an example"

// Save the structure in TMPDIR/example1.fls
savefls(fls1,TMPDIR+"/example1");

// Restore the value
fls2=loadfls(TMPDIR+"/example1")

See Also

loadfls ,  

Author

Jaime Urzua Grez