Using Matlab, I would like to create a pdf document summarizing the results of several experiments. Ideally, I'd have one page per experiment with 2 multi-panel figures and a bit of text.
I thought that publish.m
would be the way to go, however, publishing to pdf does not support inserting page breaks, and I can neither control the figure quality (which is rather bad), nor the figure size (which means that 2 figures take up the entire page), nor could I stuff the text into headers/footers.
How else could I create a multipage pdf with some control over the layout from within Matlab?
Important: Publishing a file makes it visible to everyone on the web.
To convert the Publisher file to PDF, first open the file you want to convert. Once open, click the “File” tab in Publisher's ribbon. Next, click “Export” in the left-hand pane. You'll now be in the Create PDF/XPS Document section of the Export options.
Go to Devices > Printers & Scanners. Deselect the Let Windows manage my default printer option if it's selected. Choose a device under Printers & scanners that isn't your default printer. For example, click on Fax or Microsoft Print to PDF.
The main difference between XPS and PDF is that XPS files can be viewed using an XPS Viewer while PDF files can be viewed using Adobe Reader. XPS and PDF are two file formats. XPS is a Microsoft version of PDF. Mac computers and mobile devices do not have built-in XPS viewers.
There exists the Matlab Report Generator Toolbox, which can do that very easy. Of course it costs some money.
You could try to write out some markup text from Matlab and then convert it to PDF using some other tools. Possible converters:
If you don't want this, have a look at the Matlab documentation. You can specify the image size/resolution for published figures and I think there exists the possibilty to insert line breaks.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With