Once you have computed the desired connectivity metric, the connectivity matrix can be retrieved with this:
There are plenty resources on writing data from Matlab to Excel, for example:
Check this tutorial for more info on connectivity metrics in Brainstorm
https://neuroimage.usc.edu/brainstorm/Tutorials/Connectivity