Have you looked at the shipping examples? There are several good examples that ship with the PID Control toolkit that demonstrate how to build a fuzzy controller.
SteveA
CLD
-------------------------------------
FPGA/RT/PDA/TP/DSC
-------------------------------------