functiondelvar - Delete variable in fls and return it with this change.
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.
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)
addvar , delmf , addmf , fls_structure ,
Jaime Urzua Grez