Add a matrix object created inside a tree, outside that tree

You may use this setup:

Best Regards,
QC