Append/concatenate multiple PDF files into a single file using Ghostscript.
ダウンロード: 9K
更新 2014/7/8


編集メモ: This file was selected as MATLAB Central Pick of the Week

This function appends multiple PDF files to an existing PDF file, or concatenates them into a PDF file if the output file doesn't yet exist. This can be much faster than appending PDFs one at at time.
This function requires that you have ghostscript installed on your system. Ghostscript can be downloaded from:

It also includes code from the export_fig package to interface with Ghostcript.

This function is now included in the export_fig package:
The version here will not be maintained.


Oliver Woodford (2024). append_pdfs (, MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2010b
Windows macOS Linux
Help Center および MATLAB AnswersString Parsing についてさらに検索

ヒントを得たファイル: export_fig

ヒントを与えたファイル: Card generator for Codenames board game

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート

Update description as added to export_fig package

Added more syntax examples.

Improve quality of bitmaps. Thanks to Martin Wittmann for pointing out the issue.

Fixed bug affecting long commands. Thanks to Michael Teo for reporting it.

Bug fix to ghostscript.m mostly affecting Linux (thanks to Paul Durack for reporting it).