functionaddvar - Add a new variable to a fls and return it with this change.
addvar add a new variable to fuzzy logic system fls_input and return it with this change as fls . This command add the variable named var_name with range [minDom, maxDom] in the input or output (depends of var_type parameter). If the fuzzy logic system have rules, add a new column in rules reflecting the new variable.
fls=newfls("m");
fls=addvar(fls,"input","speed",[0 100]);
fls=addvar(fls,"input","wind",[0 100]);
fls=addvar(fls,"output","actuation",[0 10]);
fls_structure , delvar , addmf , delmf ,
Jaime Urzua Grez