Activate one dipole

About the error I think because in the last script they consider the IMAGEGRIDAMP of the vomume source and not the surface one ,

I just changed manually the dimension of IMAGEGRIDAMP to 15002x1 then the scrpts run without error but I dont know where the results is saved, despite I put in the begining of the script:

PATHOUT = 'C:\Users\Desktop\alter_dipole\results'; %store the results here
but folder is empty