The controlled release of molecules that form the extracellular matrix, including carbohydrates and glycoproteins by a cell.