You can first create a fuzzy inference system by using the command "newfis", then add input/output variables by using "addvar" and the membership functions by "addmf". Finally, the rule-base can be designed using "addrule" and the output of the fuzzy system can be evaluated using "evalfis" command.