PTF supports printing MATLAB graphics to a file while the following properties can be set to a desired value:
file format & name,
PTF -GUI starts a GUI in order to simplify the process of choosing the right properties and executing the print command.
PTF.M is based on EXPORTFIG.M by Ben Hinkle from The MathWorks.
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: