gui2pdf

Create PDF from GUI - multiple images in single PDF
700 téléchargements
Mise à jour 27 oct. 2014

Afficher la licence

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.

Citation pour cette source

Robert Cumming (2025). gui2pdf (https://www.mathworks.com/matlabcentral/fileexchange/48040-gui2pdf), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2014b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Display Image dans Help Center et MATLAB Answers
Remerciements

Inspiré par : ps2pdf

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.3.0.0

Added extra methods to add blank pages to PDF and to add custom text to individual pages.
Added description of real use case of capability used in reporting failures in unit-testing of a GUI.

1.2.0.0

Update description.

1.1.0.0

Updating dependent function ps2pdf

1.0.0.0