Save several scripts as a single PDF

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

What about saving each script in a seperate file and the joining those files using some other tool.

Sign in to comment.

Answers (1)

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 Loops and Conditional Statements in Help Center and File Exchange

Asked:

on 12 Mar 2020

Community Treasure Hunt

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

Start Hunting!