In research of aircraft movement, the general method for modeling and simulation is Matlab/simuink, not Matlab/S-function. But in complex kinematics system, Matlab/S-function is of great use. This paper mainly introduces how to use S-Function to model and simulate kinematics equation, and analyzes the meaning and function of various modules. The figureures of three angular velocities and location of aircraft in earth-fixed coordination are obtained through simulating. The results indicate that this method is accurate and effective, and make the model contact interface more succinct.