I wrote my own program, starting with this one. (You can find it posted under the same title as this one). I found this program to be a nice starting point to use. I found plenty of room for improvements and additions, but I don't remember finding any bugs that would noticeably impact the results.
some lines of this program is not correct,
for example
the fft in the makeFROG.m should be:
EF = fftshift(fft(fliplr(fftshift(EF,2)), [], 1), 1);
anyway thanks, Great work.