Merge PDF-Documents

version 1.0.3 (7.72 KB) by Benjamin Großmann
Merges multiple pdf documents into one pdf document


Updated 22 Mar 2021

View License

This function uses the apache pdfbox (included in Matlab) to merge multiple pdf files into one document.


inputFiles = {'foo.pdf', 'bar.pdf};
outputFileName = 'foobar.pdf';
mergePdfs(inputFiles, outputFileName);

Cite As

Benjamin Großmann (2022). Merge PDF-Documents (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020b
Compatible with R2018b and later releases
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Inspired: pdfmerge

Community Treasure Hunt

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

Start Hunting!