gui2pdf
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.
Zitieren als
Robert Cumming (2024). gui2pdf (https://www.mathworks.com/matlabcentral/fileexchange/48040-gui2pdf), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Graphics > Images > Display Image >
Tags
Quellenangaben
Inspiriert von: ps2pdf
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.3.0.0 | Added extra methods to add blank pages to PDF and to add custom text to individual pages.
|
||
1.2.0.0 | Update description. |
||
1.1.0.0 | Updating dependent function ps2pdf |
||
1.0.0.0 |