Save several scripts as a single PDF

43 views (last 30 days)
Miguel Morgado
Miguel Morgado on 12 Mar 2020
Hi everyone,
I'm trying to save the code of several Matlab scrpits (around 140) into a single PDF. I've seen function publish, but I don't know how to apply it to that amount of scripts. Any ideas?
Thank you very much in advance!
  1 Comment
Ameer Hamza
Ameer Hamza on 12 Mar 2020
What about saving each script in a seperate file and the joining those files using some other tool.

Sign in to comment.

Answers (1)

Harsha Priya Daggubati
Harsha Priya Daggubati on 16 Mar 2020
Hi,
I guess there is no straight approach available. There is a way, which may not be the best way, but you just publish each file to doc format, combine them, and save the PDF from Word. Hope this will be a suitable workaround.

Categories

Find more on Entering Commands 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!