Article snapshot taken from Wikipedia with creative commons attribution-sharealike license.
Give it a read and then ask your questions in the chat.
We can research this topic together.
An example is the M1 protein of the influenza virus, showing affinity to the glycoproteins inserted in the host cell membrane on one side and affinity for the RNP complex molecules on the other side, which allows formation at the membrane of a complex made of the viral ribonucleoprotein at the inner side indirectly connected to the viral glycoproteins protruding from the membrane. This assembly complex will now bud out of the cell as new mature viruses.
Viral matrix proteins, like many other viral proteins, can exert different functions during the course of the infection. For example, in rhabdoviruses, binding of M proteins to nucleocapsids is accountable for the formation of its “bullet” shaped virions.
In herpesviruses, the viral matrix is usually called viral tegument and contains many proteins involved in viral entry, early gene expression and immune evasion.