Could you post more of your code/variables here? I tried xcorr2() on a (random) 1000x1000 matrix and it was working fine. Further, which Matlab release are you using?
Could 'Intensity' mentioned in the error be a custom file on your hard disk? To myknowledge, Matlab does not include a file named 'Intensity.m'