Optimal boundary control for damping the vibrations in a Mindlin-type beam is considered. Wellposedness and controllability of the system are investigated. A maximum principle is introduced and optimal control function is obtained by means of maximum principle. Also, by using maximum principle, control problem is reduced to solving a system of partial differential equations including state, adjoint variables, which are subject to initial, boundary and terminal conditions. The solution of the system is obtained by using MATLAB. Numerical results are presented in table and graphical forms.