Abstract
The problem of construction the general solution of the generalized matrix Sylvester equation is considered. Conditions of existence of solution of this equation are obtained and the algorithm for construction of this solution is given. For construction of the algorithm of this solution and the formulation of the condition of existence of this solution, the standard procedures of MATLAB package are used.