Leading MATLAB into the mechanical design has raised the quality and speed of design and possesses important theory value. The visual result of Simulink simulation is easy to observe and convenient to designer and greatly raises the design efficiency.