PSI: Stamps(1,1) error on Matlab

Dear all,
I managed to export the snap to stamps format and do the mt_prep_snap,Then when i start with my stamps processing in matlab. I divided it into 25 patches altogether, and this error occurred in the 5 patch,finally,I get the following error:
when i run stamps(1,1)
The index exceeds the matrix dimension
Error in ps_load_initial_gamma (line 108)

Error in stamps (line 263)

I check the 5 patch and find that the files in it are basically 0 bytes. Is this because there is a problem with SNAP preprocessing? How should I solve it?

Please do help if anyone knows what to be done with this.
@thho @ABraun Can you help me with this ?