function

delvar - Delete variable in fls and return it with this change.

Calling Sequence

fls=delvar( fls_input, var_type , var_idx)

Parameters

Description

delvar delete a variable from fuzzy logic system fls_input and return it with this change as fls . This command delete the var_idx variable (depends of var_type parameter) and all associated member functions. If the fuzzy logic system have rules, then fix the rules reflecting the change.

Examples

fls=newfls("m");
fls=addvar(fls,"input","speed",[0 100])
fls=addvar(fls,"input","temperature",[0 150])
// DELETE THE FIRST VARIABLE
fls=delvar(fls,"input",1)

See Also

addvar ,   delmf ,   addmf ,   fls_structure ,  

Author

Jaime Urzua Grez