image thumbnail

gui2pdf

version 1.3.0.0 (102 KB) by Robert Cumming
Create PDF from GUI - multiple images in single PDF

697 Downloads

Updated 27 Oct 2014

View License

This Matlab class allows you to save many images into a single PDF, the images are stored as you work and then at the end you can generate a PDF of all the image data.
The final PDF contains 5 text strings which are included on all the pages, this can be controlled by the user, 4 automated ones are suggested:
*companyName* (a string formatted with copyright symbol)
*date* (the date the pdf was created)
*pageNo* (enter the page numbers of every page)
*pdfFilename* (the filename of the PDF
A few example uses of this class are:
1. When doing presentations do record your work
2. To demostrate a process (teaching?)
3. Use to document a bug in your GUI
4. To record data processing (interactive) or data analysis for archive/future reference
5. Used to report failures in unit testing GUI performance (for failed case user interaction recorded and reported with screenshots in unit test) - see www.matpi.com for details.
The txt controls which are added can be customised using normal text control properties.
Once all the data is collected, it is saved first to .ps files using the print command and then converted to a pdf using the ps2pdf file exchange submission.
Uses Matlab classes -> should work on all versions from R2008a onwards.
Note: dependent function ps2pdf requires ghostscript.

Cite As

Robert Cumming (2022). gui2pdf (https://www.mathworks.com/matlabcentral/fileexchange/48040-gui2pdf), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Acknowledgements

Inspired by: ps2pdf

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!