Is it possible to join pdf files with MATLAB?
Show older comments
Is it possible to join pdf outputs (plots or pictures/images) into a single pdf file with MATLAB?
4 Comments
KALYAN ACHARJYA
on 29 Dec 2017
I don't think so. Another way you have developed it on your own. Why do you use some online or small pdf merger tools for doing that? like foxit reader, pdf creator or Adobe latest version itself.
Franco Dave
on 31 Mar 2018
Edited: Franco Dave
on 22 Nov 2021
Nickolas Blank
on 16 Sep 2020
type:
publish('my_first_script.m','pdf')
into your command window, of course using the title of your script in the my first script section and then it will merge any plots you have made with that script and that script into one single file.
Jennifer Toney
on 31 Aug 2021
how do you do that with 2 scritp files?
Accepted Answer
More Answers (3)
Jan
on 29 Dec 2017
1 vote
What are the inputs? Existing PDF files or a set of figures? For the latter, you can print to a PS file with the '-append' flag at first and use the free GhostScript to convert the PS to a PDF file. This is done e.g. in the famous export_fig also.
Nikhil Sapre
on 10 Nov 2021
1 vote
Abhishek Shahi
on 31 Aug 2021
0 votes
Categories
Find more on Printing and Saving in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!