Watch this Author's files
Even the parent functions (exportfig.m) do not work. How this got vetted and updated and yet nothing actually works is beyond me. I get the same error re: the gcf handle. I suspect this is a matlab version issue.
But some times I get following remarks--
??? Error using ==> ptf>LocalExportFig
Error using ==> get
Error in ==> ptf at 261
Seems to be based on the first version of exportfig -- Ben Hinkle updated this, adding a few useful features. See: