A Button Matrix is basically just a way for quickly creating multiple Buttons at the same time inside a common container Frame.
When creating a new button matrix, you can assign functions to each of the buttons quite quickly with the Add Button Matrix dialog.
Refer to Frame and Button on how to configure them.