gui2pdf

Create PDF from GUI - multiple images in single PDF

Vous suivez désormais cette soumission

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 (2026). gui2pdf (https://fr.mathworks.com/matlabcentral/fileexchange/48040-gui2pdf), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

Inspiré par : ps2pdf

Catégories

En savoir plus sur Display Image dans Help Center et MATLAB Answers

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
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