There are some properties such as fuzziness, indeterminacy and nonlinearness in nonlinear systems. So the fuzzy controllers are usually used to control nonlinear systems. But there are some problems in traditional fuzzy controllers. In this paper ,we combine the artificial neural network with the fuzzy controller and introduce the structure of ANFIS(Adaptive Neuro-Fuzzy Inference System). Then we use ANFIS to control the nonlinear systems. The simulation results indicate that the trained ANFIS can control the nonlinear systems very well.