Multiple Page PDF

版本 1.0.0.0 (3.4 KB) 作者: James Herman
Output multiple figures as a multi-page PDF file with no additional software required
1.1K 次下载
更新时间 2014/4/11

查看许可证

MATLAB has the endogenous ability to output an individual figure as a PDF formatted file. It does so by first creating a post-script (ps) formatted file and using "ghostscript" to convert it to PDF. Furthermore, it has the ability to output multiple figures as a multiple-page post-script file. Thus, I reasoned that it should be possible to create a multiple-page ps file and convert it to PDF using MATLAB's existing ghostscript install. This submission is the result of that effort.
There is a much more full featured File Exchange submission which requires one to install ghostscript, which I didn't want to do.

What this function does is make a multiple-page post-script file, move it to the subdirectory of the MATLAB root where one can access ghostscript, use ghostscript to make a PDF, and move the PDF back to the starting directory (from which the function was called).

I have tested it in R2012b on MAC & PC, and R2014a on MAC.

引用格式

James Herman (2024). Multiple Page PDF (https://www.mathworks.com/matlabcentral/fileexchange/46203-multiple-page-pdf), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2012b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Printing and Saving 的更多信息
致谢

参考作品: export_fig

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0