If you export MATLAB graphics to PDF files then fuss with settings to make it look "just so" then print_pdf may be for you.
This is hardly the only such submission on the File Exchange. There are dozens of files with the "pdf" tag for example. What made this submission stand out from the pack was the activity log. First, notice the Comments and Ratings. Then scroll down to the Updates section. Oliver harnessed the power of his fan club. He was extremely responsive to make improvements based on feedback from others. We like to see this kind of social computing in the File Exchange, and encourage more posters to use the forum to improve their code.
Get
the MATLAB code
Published with MATLAB® 7.8



very good, exporting any thing in Matlab form to pdf is so much needed in programs developments.
Thanks for the effort and carry on
Thanks for the honour, Bob.
On the whole this is an excellent post.
But I am having a problem using this file for guide generated figures. I have a push button within my gui to generate a pdf - however I receive an error as follows:
??? Error using ==> print at 310
What follows -f is not a Figure handle.
Error in ==> print_pdf at 48
print(’-depsc2′, ‘-noui’, ‘-painters’, [’-f’ num2str(fig)], ‘-r864′, tmp_nam);
Any help will be much appreciated.