ps2pdf

Convert PostScript file to PDF using Ghostscript; can generate multi-page PDF files.

You are now following this Submission

Converts a postscript file into PDF. The resulting PDF file will contain one page for each page defined in the postscript file, so a multi-page postscript file, like those generated by using the '-append' option of MATLAB's print command, can be used to generate a multi-page PDF file.
Works with the version of Ghostscript shipped with MATLAB, if found, or with a user-specified version.

Also works with older MATLAB versions, such as R2006b.

Cite As

Richard Quist (2026). ps2pdf (https://ch.mathworks.com/matlabcentral/fileexchange/19516-ps2pdf), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: gui2pdf

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.7.0.1

Updated license

1.7.0.0

Added check for deployed applications, plus some bug fixes and minor documentation updates.