functionaddmf - Add a new member function to a fls structure and return it with this change.
addmf add a new member function to fuzzy logic system fls_input and return it with this change as fls . This command only add the member function named mf_name with type mf_type and parameters mf_par if the variable var_index exist as input or output (depends of input_output parameter).
fls=newfls("m");
fls=addvar(fls,"input","speed",[0 100]);
fls=addmf(fls,"input",1,"low","trimf",[-50 0 50]);
fls=addmf(fls,"input",1,"med","trimf",[0 50 100]);
fls=addmf(fls,"input",1,"high","trimf",[50 100 150]);
plotvar(fls,"input",1);
addvar , delvar , delmf , member_functions ,
Jaime Urzua Grez