this question has already been answered here and in my workflow summary for SNAP-StaMPS; open the script you use in the stamps installation folder/matlab/ and delete the break command mentioned in the error message, save it and run the function again.