AFM 1.0 is a simulation tool for fuzzy logic, which can automatically generate a database containing inference rules and function description parameters from given input-output pairs. The generated database is the optimal approximation of the input process/function. The tool can translate project files to FUZZYSTUDIO project files, MATLAB and C code, so that this environment can be used as a support for simulation and control.