This paper presents a methodology for modeling a biped robot on Matlab/SimMechanics, which supports mathematical model development with time and effort savings. The model used for the biped robot simulation consists of 5-links which are connected through revolute joins. The identical legs have knee joints between the shank and thigh parts, and a rigid body forms the torso. Furthermore, modeling of ground contact forces is described. A PD controller is used on a linear model in state variable form in order to simulate the dynamic of the system. Results obtained from the dynamic simulation are presented.