You can start a macro for a matrix model if you have selected it.
Procedure
Select adjacent objects by holding down the Shift key and clicking the first and last object. You can select objects that are not adjacent by holding down the Ctrl key and clicking the relevant objects.
The macro is executed for selected objects.