In the processes “Correlation 1xN”, “Correlation NxN” and “Correlation AxB”, the measure that is used is the same.
In the NxN case, it just repeats it for all the pairs of signals, there is no covariance of the other signals involved.
The results are the same as the non-diagonal values returned by the corrcoef function with only two signals in input.
The full code of the function and some additional explanations are available here: