In this paper, the unified frame of alternating direction method of multipliers (ADMM) is proposed for solving three classes of matrix equations arising in control theory including the linear matrix equation, the generalized Sylvester matrix equation and the quadratic matrix equation. The convergence properties of ADMM and numerical results are presented. The numerical results show that ADMM tends to deliver higher quality solutions with less computing time on the tested problems.