Error in stmaps(1,1) for gamma2stamps

I use GAMMA for preprocessing, and then run stamps (1,1). The following error occurs. How can I solve it?
2

error message: master_ix=sum(day<master_day)+1;

Just enter getparm() in matlab window, then send me screenshot


4

Try this one,

Thank you. I have solved the problem by editing ps_load_initial_gamma.m.
“master_day=str2num(ifgs{1}(nb-21:nb-14));” —> “master_day=str2num(ifgs{1}(nb-27:nb-20));”
I think it is a small bug of StaMPS that the date of the master is extracted and the position of the string is wrong.