Very good function. I am using it for a while now without any problem. I have just noticed that when a figure contain a:
"text(...,'interpreter','latex')" then the function print2eps does not set the boundingbox properly or at least the figure is not cropped when using eps2pdf.
A closer look at this showed that when the latex interpreter is used, the obtained eps file (with the MATLAB print function) contained font information. This might interfer somehow. Any idea how to solve this issue?